Matthew Flatt
9f959f247e
fix quotability annotation on HtDP-language structs
...
Merge to 5.0.2
2010-10-17 19:32:17 -07: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
Matthias Felleisen
df62ca47e9
added 'function', Closes PR 11283
2010-10-13 10:31:00 -04: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
eebe5b2e2b
2nd attempt at generators for records/structs.
...
This time, with feeling.
2010-10-11 13:34:16 +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
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
87da2f35b9
Provide English and German versions of deinprogramm/signature/signature.
2010-10-08 11:19:38 +02:00
Mike Sperber
7304c061e3
Add `cons-of' signature constructor to HtDP languages.
2010-09-22 11:31:24 +02:00
Mike Sperber
593f8588fe
Implement lazy signature checking for ordinary pairs.
2010-09-22 11:03:01 +02:00
Mike Sperber
98c9ad4d22
Add `Any' contract to HtDP languages.
2010-09-21 16:23:58 +02:00
Matthew Flatt
036ed57000
fix *SL `define-struct' expand-time info: omit non-existent struct type
2010-08-30 16:11:08 -06:00
Robby Findler
b1550d6c9b
changed the expansion of the ... macro in the teaching languages so that
...
it cooperates with the test coverage annotations in drracket.
closes PR 11138
2010-08-30 09:23:34 -05:00
Matthew Flatt
0955ed6e8b
fix custom printer attached to *SL structure types
2010-08-24 06:23:22 -06:00
Matthew Flatt
a7bc964c69
fix problem with binding of *SL struct-type name and application
2010-08-19 07:38:25 -06:00
Robby Findler
ee3a837ee2
fixes the other aspect of PR 11062
2010-07-31 09:15:11 -05:00
Matthew Flatt
0e8af6bc5d
fix acc/mut error msgs from `define-struct' in teaching languages
...
Merge to 5.0.1
Closes PR 11062
2010-07-30 11:16:32 -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
Mike Sperber
faf8ec358f
Rename DMdA/HtDP "contract" to "signature".
2010-06-28 14:58:16 +02:00
Mike Sperber
3319fa41d0
Add properties to the HtDP teaching languages.
2010-06-09 14:16:34 +02:00
Mike Sperber
5b4d25295d
Make `define-struct' define contracts.
...
In particular, in
(define-struct foo (a b))
... foo is a contract, and a contract combinator `foo-of' is defined.
2010-06-09 11:07:22 +02:00
Mike Sperber
da88f22b0e
Change do-define-struct' to use
make-struct-type' explicitly.
...
This is to enable the contracts work that is to come.
2010-06-08 14:20:07 +02:00
Mike Sperber
f899fdf15d
Report the correct position for a blamed procedure.
...
... if the `lambda' of that procedure was the result of expanding a `define':
Attach the `define''s source location to the `lambda' expression.
2010-05-21 19:39:27 +02:00
Mike Sperber
8d39c15b17
Make contracts available in HtDP languages.
...
Known breakage: when blame is assigned to a procedure defined via
(define (f ...) ...), its source position isn't reported because its
lambda expression is generated.
2010-05-21 19:30:37 +02:00
Matthew Flatt
9fc5cbfa2c
Fix syntax error in ASL
...
Closes PR 10914
Merge to v5.0
2010-05-19 15:11:41 -06:00
Matthew Flatt
043f97df97
fix more test files
2010-05-01 07:23:05 -06:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00