Commit Graph

164 Commits

Author SHA1 Message Date
Robby Findler
462a348f19 fix bugs in the way the Racket|Disable Tests menu item worked
also adjust the test-engine-test.rkt test suite to bring it into
sync with the changes to the way the DrRacket REPL works from
commit bfa6b1d953
2011-11-28 00:13:59 -06:00
Mike Sperber
36d3745d4c Unbreak "Enable signature checking".
Previously, if you disabled it once, it would stay disabled.
2011-10-21 20:43:50 +02:00
Robby Findler
7acc5b7852 adjust HtDP teaching languages' first and rest so that they accept circular lists.
This commit fix an unintentional change introduced by this commit:
  c7d67f9bab
(and it also adds in test cases for what that commit appears to have
been doing)

Assuming everyone agrees that the behavior for first rest from back
in 2010 is the behavior we still want (and the lack of release notes
on the subject makes me believe that we do), then:

Please include in 5.2.
2011-10-21 08:09:34 -05:00
Mike Sperber
e637806306 fix errortrace-conversion problem in DMdA languages
Follow commit 45331d1ae8 for the HtDP
languages.
2011-09-16 09:02:25 +02:00
Matthew Flatt
d3c56c9f13 generalized `begin-for-syntax' 2011-09-08 14:06:00 -06: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
Matthew Flatt
fc914dfac8 restore deinprogramm reader module suffix 2011-07-16 20:15:15 -06: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
John Clements
b1d791a02e renamed stepper-define-struct-hint to stepper-black-box-expr 2011-06-29 10:03:44 -07: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
060b4e9b32 deinprogramm: tweak files to make scribble happy 2011-05-28 09:02:53 -05:00
Mike Sperber
a94287a076 Document lambda' and define' for DMdA/assignments. 2011-05-28 15:10:01 +02:00
Mike Sperber
a52e59a61b Add alpha-rgb-color contract to teachpack/deinprogramm/image. 2011-05-28 12:31:05 +02:00
Mike Sperber
f2f2784ae7 Add missing documentation for DMdA teachpacks. 2011-05-28 12:29:08 +02:00
Mike Sperber
24961f750c Fix predicate signatures in DMdA.
Use any -> boolean instead of %a -> boolean.
2011-05-28 12:10:51 +02:00
Robby Findler
d40b43c0a9 make the deinprogramm documentation drdr messages be accurate
(that is, I think that the complaints coming from the
   tests\deinprogramm\test-docs-complete.rkt message are
   now pointing out things for which there is actually no
   documentation, instead of pointing out the need for
   different declare-exporting declarations)
2011-05-04 18:54:28 -05: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
Mike Sperber
d582dd55dd Fix bug in vector signatures. 2011-05-01 11:18:10 +02:00
Robby Findler
e7d0029aea added lots of new tests that our documentation is complete 2011-04-25 13:24:43 -05:00
Mike Sperber
18662741fb Fix signature-checking bug with DMdA's `define-record-procedures'.
Define the predicate before the constructor, as the predicate may be
used in checking the signature of the constructor.
2011-01-22 16:23:23 +01:00
Robby Findler
2ddf90f3fc adjusted deinprogramm preferences to use the framework preference system so that drracket still starts up when there is a locked preference file under windows 2011-01-20 14:08:32 -06:00
Mike Sperber
1b97013496 In QuickCheck, fix bug in lift->generator.
This would result in aggregates where all the generators start from
the same seed.
2011-01-16 20:04:32 +01:00
Mike Sperber
894c531f6c Make DMdA's fold more robust. 2011-01-15 13:08:00 +01:00
Mike Sperber
69963a1f2c Fix bug in struct-wrap signature checking.
Only check the fields if we know the struct type is right.
2011-01-06 13:53:51 +01:00
Mike Sperber
fa854f62fc Add vector signatures, and `vector-of' to the HtDP signature syntax. 2010-12-19 11:20:51 +01:00
Matthew Flatt
489c5de9e8 another module-body duplication 2010-12-15 12:28:09 -07:00
Mike Sperber
3f74e662ed Add tool.rkt needed for "Disable Signature Check".
I'd screwed up previously.
2010-12-15 08:17:57 +01:00
Matthew Flatt
de271aa698 temporary workaround for missing(?) tool module 2010-12-14 14:53:47 -07:00
Casey Klein
8368dcaca1 Fixes apparent copy-paste error 2010-12-14 12:26:11 -06:00
Mike Sperber
6bee489091 Add menu item to disable signature checking. 2010-12-14 17:29:30 +01:00
Mike Sperber
dbd1cfaf10 Don't use teach-equal?' for one-of' signature.
I did this under the mistaken assumption `equal?' would not work for
cycles, I think.
2010-11-26 11:10:29 +01:00
Mike Sperber
a671fddc18 Better signature for `string->number'. 2010-11-22 15:33:49 +01:00
Mike Sperber
39b3a289c5 Update signatutures and explanations on DMdA primitives. 2010-11-22 09:29:54 +01:00
Mike Sperber
9c607d39e7 Further refine DMdA signatures for lcm' and gcd'. 2010-11-17 17:15:31 +01:00
Mike Sperber
c7700dbe06 Fix signatures for gcd' and lcd' in DMdA. 2010-11-10 18:59:40 +01:00
Mike Sperber
c6334b549f "list" -> "list-of" in DMdA docs. 2010-11-10 18:58:37 +01:00
Mike Sperber
69b858a7f5 Unbreak printing in DMdA.
Fix the the name by which the HtDP and DMdA languages refer to the
signatures module, making sure everybody sees the same properties.
2010-11-10 07:32:52 +01:00
Vincent St-Amour
c7d67f9bab *SL: first and rest should not report errors in terms of car and cdr. 2010-11-09 21:16:17 -05:00
Mike Sperber
4bf3ca44d0 Unbreak DMdA REPL.
Follow Robby's commit to htdp-langs.rkt.
2010-10-27 19:48:59 +02:00
Mike Sperber
594c72167e use #%plain-app to avoid possible problems with code injected into the teaching languages
Follow ae37e186e7 for DMdA.
2010-10-20 12:37:05 +02:00
Mike Sperber
17c4cb9254 Two more (hopefully last) renamings "Vertrag" -> "Signatur"
(i.e. "contract" -> "signature" in German)
2010-10-18 13:30:34 +02:00
Mike Sperber
2a418b9cf0 For DMdA, follow Robby's fix for htpd-langs.ss.
Namely, don't set an uncaught-exception-handler.
2010-10-18 09:36:17 +02:00
Mike Sperber
39541c51b5 Add `tech-equal?'.
This refuses to work on inexact numbers and procedures.  Use it in
`check-expect' & friends.
2010-10-15 15:26:24 +02:00
Mike Sperber
f3191ff4d6 Define `any' signature differently.
... to actually enable the subtyping check.  Also, make named
signatures work for signature variables.
2010-10-13 09:41:10 +02:00
Mike Sperber
b80d327d40 DMdA typo fix.
--HG--
extra : rebase_source : d6f5e160c655713f30df544a60c8033410945103
2010-10-12 14:53:12 +02:00
Mike Sperber
03c2fa266b Update DMdA docs on generators for `check-property'.
--HG--
extra : rebase_source : 0cfb8434a19c3d2f2783a0f1d882fecd85c5d432
2010-10-12 14:50:22 +02:00
Mike Sperber
eebe5b2e2b 2nd attempt at generators for records/structs.
This time, with feeling.
2010-10-11 13:34:16 +02:00