Commit Graph

70 Commits

Author SHA1 Message Date
Eli Barzilay
672910f27b Lots of bad TAB eliminations.
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.

If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces.  For example, to see
per-line authors, use "git blame -w <file>".  Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".
2012-11-07 11:22:20 -05:00
Matthias Felleisen
b48d122dd7 fixed Adam Shaw's typo, eliminated the word match 2012-10-17 20:27:12 -04:00
Matthias Felleisen
5ea11fc0b4 fixed up docs to use new system; retested 2012-06-25 19:15:09 -04:00
Matthias Felleisen
5437708a90 switched documentation style to mine (stage 1) 2012-06-25 19:15:09 -04:00
Matthew Flatt
5ff3087677 scribble: adjust `def...' box to show a background label in HTML
For example, a syntactic form box is labeled with "SYNTAX". Forms
such as `defform' and `defthing' now support a `#:kind' option
for setting the label.
2012-06-17 09:19:58 +08:00
Matthias Felleisen
f82f528a8c added 'boolean' to the grammars for the *SLs, fixing an emailed bug report from Klause Ostermann. -- To avoid the 'true, '(true) etc issue I ommitted boolean from the [quasi]quoted grammar, which makes the current behavior kind of correct. 2012-06-14 14:20:46 -04:00
Sam Tobin-Hochstadt
88bd4cce6c Document `quote' et al in ISL+lambda.
Closes PR 12585.
2012-02-19 16:24:57 -05:00
Matthias Felleisen
b63cb42acf fixed documentation for check-within 2012-02-03 10:30:23 -05:00
Robby Findler
d6bd1dc904 fix the require docs for the teaching languages so they mention both forms of planet require 2011-11-14 07:46:47 -06:00
Matthias Felleisen
481a92f272 fixed and/or documentation, Closes PR 12197 2011-09-12 17:12:39 -04:00
Eli Barzilay
d61eb53686 Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Matthias Felleisen
8e176bc275 added documentation for Carl's ... in the student languages; otherwise 2e dots in templates look ugly 2011-08-01 20:13:20 -04:00
Guillaume Marceau
adf965e92a Undoes the 'produces -> return' part of commit c31d352f, keeping the 'changes -> mutates' change and the assorted bug fixes it contained. 2011-07-17 16:48:12 -04:00
Guillaume Marceau
7134d67921 Roll back the "expr -> expression" change in the grammar documentation of the
teaching languages. The extra width was breaking some browsers.
2011-07-15 03:34:59 -04:00
Guillaume Marceau
c31d352f2b Standartize the vocabulary to "the function returns" and "set! mutates" 2011-07-15 03:27:27 -04:00
Guillaume Marceau
793d7894f1 Better fix for the previous bug. 2011-07-14 00:12:47 -04:00
Guillaume Marceau
452f3a14fb Fixed that 'all contracts for primitives print as lists' bug in scribblings/htdp-langs. 2011-07-13 23:52:10 -04:00
Guillaume Marceau
3815862a81 Remove spurious printf left in 9053f8f9 2011-07-09 01:39:17 -04:00
Guillaume Marceau
9053f8f99b Fixed documentations bugs in scribblings/htdp-langs 2011-07-08 23:34:29 -04:00
Guillaume Marceau
91d5c92415 Little tweaks to the *SL documentation 2011-07-08 18:23:16 -04:00
Matthew Flatt
6c3360c716 fix formating of duplicated syntax descriptions 2011-07-07 10:45:43 -06:00
Eli Barzilay
0ee3aef9cb Redo some of the ".ss" -> ".rkt" conversion that were undone in the last push. 2011-07-06 06:21:49 -04:00
Guillaume Marceau
eedab060ba Updated teachpack documentation for the new vocabulary. 2011-07-06 05:35:17 -04:00
Guillaume Marceau
01b9bde7fa The documentation for htdp-lang now uses the new vocabulary. 2011-07-06 00:27:28 -04:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Ryan Culpepper
1b702a2ae3 docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Eli Barzilay
a38f384a00 Finish converting scheme' -> racket'.
Everything compiles fine now even if the compatibility bindings are
gone.
2011-06-28 00:45:38 -04:00
Eli Barzilay
ac26fe7554 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Eli Barzilay
debd1f9f1e Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Robby Findler
2230605301 add a #:use-sources keyword to deinprogramm docs to get scribble to know about more of the docs 2011-05-02 05:52:59 -05:00
Matthew Flatt
4cd0ba277e remove `define-wish' from BSL for now
Merge to 5.1.1
2011-04-27 06:09:30 -06:00
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
Jay McCarthy
407dcee206 Adding match to ASL 2010-07-22 15:39:53 -06:00
Jay McCarthy
9eb053d4db Adding define-datatype to ASL 2010-07-22 11:36:04 -06:00
Jay McCarthy
caca804615 Adding subsections to HTDP language primops docs 2010-07-15 15:45:54 -06:00
Jay McCarthy
f72a71c67f Fixing advanced language prim ops 2010-07-15 15:45:54 -06:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Matthias Felleisen
3581ebcbf0 request by Shriram to add an explanation to time
svn: r16741
2009-11-13 02:01:17 +00:00
Mike Sperber
c4e9f3d1aa Add check-member-of' and check-range' to the HtDP languages grammar.
svn: r16336
2009-10-16 11:50:21 +00: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
Matthew Flatt
81f9622b58 HtDP lang doc repairs
svn: r15203
2009-06-18 07:47:36 +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
Matthew Flatt
e02aef66a4 doc λ in HtDP Intm+Lam and Adv
svn: r14540
2009-04-17 11:27:23 +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
Robby Findler
6e11cac115 fixed typo
svn: r13675
2009-02-16 18:26:06 +00:00