Commit Graph

250 Commits

Author SHA1 Message Date
Eli Barzilay
af6be85ff5 Fix lots of indentation mistakes.
(Found by my ayatollah script...)
2013-03-14 10:55:47 -04:00
Matthew Flatt
8d03995b62 scribble/manual: add #:id' option to defthing'
Use this open in the HtDP language documentation in the same
way as for `defproc', which fixes the docs for `pi', `e', etc.
2013-03-05 07:48:26 -07:00
Matthias Felleisen
f78e4c7142 added defthing as a doc feature; Closes PR13414 2013-01-05 14:35:30 -05:00
Matthias Felleisen
ede0e3c625 at JPR's request: modified memq to return boolean and added memq? to teaching languages
the symmetry to member/member? suggested he is correct
2012-12-30 14:38:32 -05:00
Eli Barzilay
1e55f71f8a Two more #lang racket' -> #lang racket/base'. 2012-11-07 11:34:33 -05:00
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
Danny Yoo
b5f5d420c4 correcting the type signature docs for htdp-intermediate's compose. 2012-11-06 14:39:23 -07:00
Eli Barzilay
cbfb1fdb37 A whole bunch of missing newlines at EOFs (and a few other spaceages). 2012-10-19 06:47:24 -04:00
Matthias Felleisen
f733f149f5 fix string-ith's error message; Closes PR 13197 2012-10-17 20:27:12 -04:00
Robby Findler
8971cb5981 adjust define-primitive so that it cooperates with struct-info.
Specifically, if there is a third argument to define-primitive, then
it uses the prop:struct-info setup, using that third argument
as the struct-info (in the list format).
2012-09-28 15:09:25 -05:00
Matthias Felleisen
37ff798163 sqrt 2 to show #i numbers 2012-09-20 09:05:33 -04:00
Matthias Felleisen
b1ba81d0cc replace example for string=; Closes PR 13112 2012-09-17 06:57:07 -04:00
Matthias Felleisen
f9724f389d addex index entry for add/plus, multiply, and friends
Closes PR12895 -- well, except that index points to htdp-langs for all five occurrences of each (to be fixed)

merge to v5.3
2012-07-23 16:57:38 -04:00
Asumu Takikawa
403aaac7d4 Moved some mzlib library implementations to racket
The libraries moved were:
  - mzlib/control      => racket/control
  - mzlib/date         => racket/date
  - mzlib/deflate      => file/gzip
  - mzlib/inflate      => file/gunzip
  - mzlib/port         => racket/port
  - mzlib/process      => racket/system
  - mzlib/runtime-path => racket/runtime-path
  - mzlib/shared       => racket/shared
  - mzlib/unit         => racket/unit
  - mzlib/unit-exptime => racket/unit-exptime
  - mzlib/zip          => file/zip

The old modules in mzlib are now pointers to the
new modules. These are all modules that were already
redirected in the documentation.
2012-07-11 18:26:10 -04:00
Matthew Flatt
3f479a0556 *SL: avoid run-time dependency on Scribble
Instead, move the Scribble dependencies into generated documentation
submodules.
2012-07-10 15:55:18 -06:00
Matthias Felleisen
983afd5355 added some more format examples; Closes PR 9879 2012-07-04 11:42:14 -04:00
Matthias Felleisen
89d6ebaab6 shifted eval code, probably not needed 2012-07-03 21:49:03 -04:00
Matthias Felleisen
a6e3c01f53 this is not the final word, see todo in provide-and-scribble; Closes PR 10498 2012-06-28 20:57:30 -04:00
Matthias Felleisen
15651fca6c removed debug print; fixed ordering of section display; improved docs in advanced 2012-06-28 20:55:13 -04:00
Matthias Felleisen
f56d6447da typos 2012-06-28 18:22:49 -04:00
Matthias Felleisen
004127bbc7 hashes scribblized, preliminary; SK may wish to add more examples 2012-06-28 18:22:49 -04:00
Robby Findler
5526efd744 Rackety (Matthew already broke the dependency that this commit was going to do) 2012-06-28 09:02:35 -05:00
Matthew Flatt
6379849755 remove dependency of *SL image functions on `racket/gui/base' 2012-06-28 07:18:17 -06:00
Matthias Felleisen
379974fc6e fixed some interactions, added up through hashes 2012-06-27 22:55:07 -04:00
Matthias Felleisen
22f3c6b509 added interactive examples up to I/O 2012-06-27 19:03:42 -04:00
Matthias Felleisen
397cd540ab added interactions to all but one beginner functions to illustrate what they do 2012-06-27 19:03:41 -04:00
Matthew Flatt
e0bf863b21 BSL and BSL+: fix an error message 2012-06-27 09:57:50 -06:00
Matthew Flatt
b38bf09e4e HtDP language docs: fix context of defined bindings
Uses the new `#:id' option in `defproc'.
2012-06-25 23:25:58 -06:00
Matthias Felleisen
d04b8b0b8d accidentally placed 'null' in wrong file 2012-06-25 19:59:42 -04:00
Matthias Felleisen
4aefb18cab fixed bug in provide and scribble (end of stage 1) 2012-06-25 19:15:09 -04:00
Matthias Felleisen
68f16f705b fixed bug in render-sections 2012-06-25 19:15:09 -04:00
Matthias Felleisen
ee82103283 first stage in documentation reorg (final step) 2012-06-25 19:15:09 -04:00
Matthias Felleisen
5fbb660a56 first stage in documentation reorg 2012-06-25 19:15:08 -04:00
Matthias Felleisen
2981cbfd68 added string-contains? at request from Ostermann 2012-06-25 19:15:08 -04:00
Matthew Flatt
1dc0072d03 further error message convention refinements
Add extra intitial-message lines, use "..." on a field name
to indicate that it could reasonably be hidden by default,
and refine some existing messages.
2012-06-22 09:47:59 +08:00
Matthew Flatt
9af2a331ca another ASL error-message repair 2012-06-21 07:14:49 +08:00
John Clements
c01e8c1564 refactored to reduce stepper dependencies 2012-06-19 23:51:59 -07:00
Matthew Flatt
82943df351 another *SL error-message repair 2012-06-12 06:02:57 +08:00
Matthew Flatt
255e3cbe2e another *SL error-rewriting fix
Arity errors no include supplied arguments, but strip them
away for *SL messages.
2012-06-06 13:25:14 +08:00
Matthew Flatt
e44c0809e8 rewrite contract error messages for *SL
The rewrite involves parsing contract expressions and constructing
replacement prose.
2012-06-05 17:53:27 +08:00
Matthew Flatt
cc0b887106 adjust *SL error-message rewriting 2012-06-03 11:09:32 +08:00
Matthias Felleisen
f1c1376d87 added 'range' to *sl per jpr's request and #lang-ified a couple of files 2012-05-29 12:00:27 -04:00
Matthias Felleisen
cc8e988346 fixed mistakes in posn documentation; Closes PR 12755 2012-05-09 12:04:44 -04:00
Matthias Felleisen
e04b74f22a fix mistake in memf documentation, Closes PR 12745 2012-05-01 16:48:17 -04:00
Matthias Felleisen
1711ab96ba added vector->list 2012-03-27 10:19:52 -04:00
Sam Tobin-Hochstadt
c5e30d8af5 Use the correct #%app for applications of `local' bound identifiers in the student languages. 2012-03-24 16:04:08 -04:00
Matthias Felleisen
190fbcd7ce fixed docs for quotient; Closes PR 12593 2012-02-22 08:33:16 -05:00
Eli Barzilay
c007c345f9 A bunch of more typos like the ones in David's commit. 2012-02-21 14:21:43 -05:00
Matthew Flatt
7ddbc95b51 clean up `set!' implementation in ASL to avoid catching failures
The code seems to pre-date the failure thunk to `syntax-local-value'.
A problem with letting an exception get raised is that it triggers
the `error-value->string' handler, which loads Slideshow pict support
in DrRacket, which loads `racket/draw' at phase 1 --- which isn't
inherenty bad, but a lot of work that can be avoided.
2011-12-02 16:02:11 -07:00
Eli Barzilay
a9b1f993d4 Remove redundant execution bit from some files, convert one CRLF file to LFs. 2011-12-01 03:54:32 -05:00