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
Eli Barzilay
615d8f1329
Add _intptr etc; closes PR11311.
2010-10-12 20:58:08 -04:00
Eli Barzilay
b3cfbe77c9
Minor typo in error call
2010-10-12 20:58:07 -04:00
Matthias Felleisen
8fb58bb74e
making the stepper (mostly) happy
2010-10-12 18:10:35 -04:00
Vincent St-Amour
27e722f27b
Inexact-Complex -> Float-Complex
2010-10-12 16:47:46 -04:00
Vincent St-Amour
52bd739d00
Added the Float-Complex type for consistency with the new float types.
...
Inexact-Complex has been kept as a synonym for backward compatibility.
2010-10-12 16:47:45 -04:00
Vincent St-Amour
a59a99c42d
Changed the TR numeric tower to use the new flonums.
2010-10-12 16:47:45 -04:00
Vincent St-Amour
f3ae9c73b0
Changed the interface for running single optimizer tests.
2010-10-12 16:47:45 -04:00
Vincent St-Amour
2c4d6fbb01
Added optimization for first, second and co when possible.
2010-10-12 16:47:44 -04:00
Kevin Tew
21d94d7eb5
Fix shared-flvector
2010-10-12 13:19:21 -06:00
Matthew Flatt
bf4fc2574c
fix syntax colorer for #true and #false
2010-10-12 08:22:12 -06: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
Matthew Flatt
99df8e1267
allow internal definitions in when',
unless', cond,
case', `match'
2010-10-12 06:41:49 -06:00
Matthew Flatt
5e162d94e2
fix scheme_set_wakeup_time()
2010-10-12 05:55:56 -06:00
Eli Barzilay
7847872400
Fix some missing uses of @num
2010-10-11 15:07:28 -04:00
Eli Barzilay
6295824851
Some additional tests, and use () instead of {} for racket sexprs
2010-10-11 15:07:28 -04:00
Eli Barzilay
40ecda1a77
Sandboxes make up and remember a reasonable default source to filter
...
uncovered expressions on.
(See http://lists.racket-lang.org/users/archive/2010-October/042008.html
for a detailed description.)
2010-10-11 15:07:28 -04:00
Mike Sperber
c4b590d9bf
Add "image2" teachpack for DMdA.
...
This is just our copy of 2htdp/image.
2010-10-11 13:54:29 +02:00
Mike Sperber
eebe5b2e2b
2nd attempt at generators for records/structs.
...
This time, with feeling.
2010-10-11 13:34:16 +02:00
Matthew Flatt
cc79890f71
rephrase `eq-hash-code', etc. docs in terms of fixnums
2010-10-10 20:39:29 -06:00
Matthew Flatt
696360d5f3
document new gc-callback protocols
2010-10-10 20:39:29 -06:00
Matthew Flatt
c6d355d08d
add some gc-callback protocols for win32
2010-10-10 20:39:29 -06:00
Mike Sperber
f35477b82b
Make the weak table for the signature-checked pairs truly weak.
...
... by wrapping ephemerons around the values.
2010-10-09 17:51:30 +02:00
Mike Sperber
f706b0d7a7
Revert "Create arbitraties off parametric struct/record signature constructors."
...
This reverts commit 7df9a22a67
.
It was broken in several ways. New attempt later.
2010-10-09 17:48:58 +02:00
Matthew Flatt
a0e4eb990d
document racket/fasl
2010-10-09 08:15:26 -06:00
Eli Barzilay
4e841cad7f
New Racket version 5.0.1.8.
2010-10-09 03:50:16 -04:00
Matthew Flatt
6ac33a62be
set `read-accept-lang' to #t by default, plus related adjustments
...
including adding some uses of `with-module-read-parameterization'
so that `read-accept-lang' is set right anyway; still, so many
many places just set `read-accept-reader' to #t that making
`read-accept-lang' #f by default looks like too big of an
incompatibility
2010-10-08 19:01:33 -06:00
Matthew Flatt
c25b20867e
fix --enable-floats
2010-10-08 15:13:04 -06:00
Matthew Flatt
fe301b1ff4
print-boolean-long-form, #true, #false, read-accept-lang, flonum?
2010-10-08 15:13:04 -06:00
Matthias Felleisen
0eed02bd0d
typo in world.rkt
2010-10-08 16:31:52 -04:00
Matthias Felleisen
58684bbf4e
merged keywords back into universe
2010-10-08 16:17:41 -04:00
Matthias Felleisen
995ce61434
to-draw and on-draw check
2010-10-08 16:17:03 -04:00
Matthias Felleisen
96bf9d2518
deleted
2010-10-08 16:16:04 -04:00
Matthias Felleisen
963adb64ce
run tests all at once
2010-10-08 14:04:32 -04:00
Mike Sperber
4ec7cb1d88
Unbreak coverage for *SL `define-struct'.
2010-10-08 19:56:51 +02:00
Mike Sperber
7df9a22a67
Create arbitraties off parametric struct/record signature constructors.
...
This enables QuickCheck value generations for structs/records.
2010-10-08 17:21:07 +02:00
Mike Sperber
219c91d8e7
Check parametric struct/record signatures eagerly.
2010-10-08 17:01:47 +02:00
Mike Sperber
5dad68b384
Zap `DMdA-' from primitive procedures in DMdA.
...
Meaning the the procedure names are displayed without the "DMdA-"
prefix in the stepper and the REPL.
2010-10-08 15:25:44 +02:00
Mike Sperber
b4493fdab4
Add cons' and
cons?' as synonyms for make-pair' and
pair?' to DMdA.
...
Requested by Michael Hanus & Peter Thiemann.
2010-10-08 15:25:44 +02:00
Mike Sperber
29a0511439
Give the type-name signature off `define-record-procedures' a name.
2010-10-08 15:25:44 +02:00
Mike Sperber
9b1188c77a
Re-instate Robby's hack to display test results off REPL errors.
...
... and generalize it so there's an action before (clearing the old
tests out) in addition to after (displaying the test results).
Also, do for DMdA as for HtDP.
2010-10-08 15:25:44 +02:00
Mike Sperber
02cde446cc
Unbreak source locations for errors off the REPL in teaching languages.
...
Make sure we notice when the error source is the REPL, not the
definitions.
2010-10-08 15:25:44 +02:00
Matthew Flatt
d0fd2c40ad
fix JIT future glue for MSVC
2010-10-08 06:15:15 -06:00
Mike Sperber
3e205b6193
Better error message for certain bogus signatures.
2010-10-08 13:55:42 +02:00
Mike Sperber
7572b24870
Unbreak stepper.
...
(It was broken by fed1e3dc3e2d7268c0297a0ce699d3deb2ba75c5.)
2010-10-08 13:41:44 +02:00
Mike Sperber
38cf78e213
Allow specifying arbitary expressions in a signature declaration.
...
Fixes PR 11282
2010-10-08 13:12:18 +02:00
Mike Sperber
1e44fc8e43
More "contract" -> "signature" identifier renaming.
2010-10-08 11:51:33 +02:00
Mike Sperber
91590040dc
Ignore duplicate signature declarations.
2010-10-08 11:50:17 +02:00
Mike Sperber
87da2f35b9
Provide English and German versions of deinprogramm/signature/signature.
2010-10-08 11:19:38 +02:00