racket/collects/scribblings
Jay McCarthy 01a41a812e Closing pr11216. Adding one armed check-error to teaching languages.
[It will not bother me if we revert this commit. I liked SK's idea and found it easy to implement. I wonder if others will be worried that it is easy to unintentionally leave off the second argument to check-error. I also wonder if it is problematic to add new string constants, like I've done.]

Here is an example:

(check-error (/ 1 0) "/: division by zero")
(check-error (/ 1 0) "divide by zero")
(check-error (/ 1 0))
(check-error 1)

Here is the output:

Ran 4 tests.
2 of the 4 tests failed.

No signature violations.

Check failures:
	check-error encountered the following error instead of the expected divide by zero
   :: /: division by zero
in ex.rkt, line 2, column 0
	check-error expected an error, but instead received the value 1.
in ex.rkt, line 4, column 0
2010-09-16 21:00:05 -06:00
..
drracket added image->color-list and color-list->bitmap 2010-09-04 13:52:49 -05:00
foreign move #:alignment option for `define-cstruct' to end 2010-09-10 08:06:41 -06:00
framework added a note about how the max width is remembered in the splash screen 2010-09-01 14:39:16 -05:00
gui add methods to text-field% to control the background color 2010-08-03 12:34:16 -06:00
guide Minor edits to `for/vector' docs. 2010-09-09 17:08:09 -04:00
honu misc racket renamings 2010-05-07 11:03:02 -06:00
htdp-langs Closing pr11216. Adding one armed check-error to teaching languages. 2010-09-16 21:00:05 -06:00
inside add scheme_get_place_table() 2010-09-14 09:35:44 -06:00
main Scheme -> Racket in styles 2010-06-08 16:40:47 -04:00
more tweaks to More related to text editors and readline 2010-06-27 10:11:22 -06:00
quick fix overzealous replacement of "Scheme" with "Racket" in quick 2010-06-07 20:06:51 -04:00
raco removing indirects from zo handling 2010-09-16 12:45:37 -06:00
reference Alter the documentation for vector contracts to match the new implementations. 2010-09-16 15:04:41 -04:00
scheme fix make-gui-namespace from scheme/gui/base and racket/gui/base 2010-06-07 20:06:51 -04:00
scribble move style guide up a section (to its own page) 2010-08-30 14:35:18 -06:00
slideshow doc typo 2010-08-24 05:39:47 -06:00
tools When opening a new window where the language is one of the htdp languages (via the 2010-09-04 19:37:02 -05:00
finger.png
icons.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
info.rkt move purpose statements to the info files 2010-08-23 15:13:00 -06:00
magnify.png