Commit Graph

18 Commits

Author SHA1 Message Date
Matthew Flatt
2eac694a3a fix `define-wish' docs 2011-03-08 08:33:04 -06:00
Kathy Gray
4311f3401d Documentation for how wishes are used within the Beginner language. 2011-02-21 14:27:12 +00:00
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
Kathy Gray
f300ba967a Changed syntax of check-member-of so that it will work in htdp-beginner
Updated docs to reflect this

svn: r16065
2009-09-18 14:19:50 +00:00
Kathy Gray
e3c2721052 Adding check-member-of and check-range to the htdp languages and updating the docs.
svn: r16064
2009-09-18 12:37:18 +00:00
Eli Barzilay
4288c6c2c7 The Scribble reader was improved to make it pull out the syntax
punctuations outside of the form, as it does with quote punctuations.
So things like this

  #, @foo{...}

that required the space to make the @foo read as a scribble form are
now better written as

  @#,foo{...}

This changes all such occurrences.  (In case you see this change in
your files and are worried that there might be changes: I mechanically
verified that the result of `read'ing the modified files is identical
to the previous version.)

svn: r15111
2009-06-07 10:12:32 +00:00
Eli Barzilay
c0a8a01222 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427
2009-04-05 17:46:20 +00:00
Matthew Flatt
9927b0b576 changed htdp languages to allow identifier module paths; scribble improvements to latex back-end; added definterface
svn: r13681
2009-02-16 22:04:51 +00:00
Matthias Felleisen
66bed75bd3 fixed docs for lang
svn: r11351
2008-08-20 02:38:02 +00:00
Eli Barzilay
4cd2614c21 scribble fixes -- nested @scheme and a few other similar problems
svn: r10744
2008-07-13 17:13:20 +00:00
Matthew Flatt
938df1800c improve error reporting ands doc for check-expect (PR 9499 and 9500)
svn: r10257
2008-06-13 17:24:24 +00:00
Matthew Flatt
a932a75708 fix rename-in bug, and try to provide a better error message for attempting to use a run-time definition in a transformer expression
svn: r9819
2008-05-12 23:13:47 +00:00
Matthew Flatt
fe7b6fd26e add htdp-lib doc
svn: r9417
2008-04-23 02:06:47 +00:00
Matthew Flatt
a9d7b95d3d doc HtDP language additions for testing
svn: r9163
2008-04-04 12:12:35 +00:00
Matthew Flatt
a6642f066f fix program grammar
svn: r9017
2008-03-18 14:15:58 +00:00
Matthew Flatt
17c6b00f44 fix typo: Beginner -> Beginning
svn: r8198
2008-01-03 19:14:33 +00:00
Matthew Flatt
7fc41024c0 3.99.0.9: binding links in docs use nominal import sources
svn: r8196
2008-01-03 19:07:02 +00:00
Matthew Flatt
d4482c90ca finish first draft of HtDP language docs
svn: r8179
2008-01-02 03:33:00 +00:00