Sam Tobin-Hochstadt
9939f4b619
Stop using eq? for types.
...
More contracts.
Fix some contract errors.
svn: r17943
2010-02-02 18:09:25 +00:00
Sam Tobin-Hochstadt
8b120675bc
most of the way to real printing
...
svn: r17935
2010-02-02 01:24:06 +00:00
Sam Tobin-Hochstadt
94029a06c9
Progress on Rep.
...
svn: r17924
2010-02-01 15:51:32 +00:00
Sam Tobin-Hochstadt
9789615ed9
merge to trunk
...
svn: r17877
2010-01-29 00:08:15 +00:00
Sam Tobin-Hochstadt
bbc195c0fb
progress on refactoring rep
...
svn: r17875
2010-01-28 21:47:05 +00:00
Sam Tobin-Hochstadt
e65535c880
work on new guide
...
svn: r17814
2010-01-25 15:36:56 +00:00
Sam Tobin-Hochstadt
e071050f7f
new doc branch
...
svn: r17813
2010-01-25 14:48:11 +00:00
Sam Tobin-Hochstadt
3fc133a0b8
Correct typing for `or'.
...
svn: r17665
2010-01-15 19:39:46 +00:00
Sam Tobin-Hochstadt
5e1b355e32
Syntax for predicates with non-empty paths
...
svn: r17660
2010-01-14 23:17:56 +00:00
Sam Tobin-Hochstadt
1ab2a41092
Paths for first' and
rest'
...
svn: r17654
2010-01-14 20:00:37 +00:00
Sam Tobin-Hochstadt
33592b4f6c
Typecheck `or' correctly.
...
svn: r17653
2010-01-14 19:53:28 +00:00
Sam Tobin-Hochstadt
91629fd31a
Reject some cases of nested types.
...
svn: r17619
2010-01-12 20:36:30 +00:00
Sam Tobin-Hochstadt
81e963bd46
`reverse' is special on all tuples
...
svn: r17612
2010-01-11 22:13:22 +00:00
Sam Tobin-Hochstadt
4fa4f6fd2d
Propogate expected type through `reverse'.
...
New loop special case for `for/list'.
svn: r17609
2010-01-11 20:48:26 +00:00
Sam Tobin-Hochstadt
f13453e889
`andmap' now works as a predicate in Typed Scheme
...
svn: r17575
2010-01-08 19:05:58 +00:00
Sam Tobin-Hochstadt
05a0e722f9
use of member, memq, memv as predicates working properly
...
svn: r17568
2010-01-08 15:55:32 +00:00
Sam Tobin-Hochstadt
0d46fcb48a
Create new `typed/test-engine' collection.
...
Remove dependence of `typed-scheme' on `test-engine'.
svn: r17567
2010-01-08 15:38:17 +00:00
Sam Tobin-Hochstadt
b7f9899439
`member' can now be used a predicate.
...
svn: r17554
2010-01-07 22:11:54 +00:00
Sam Tobin-Hochstadt
eaad64d612
Better error message for functions that don't have the same arity as
...
the expected.
Add some tests for errors.
svn: r17551
2010-01-07 21:45:57 +00:00
Sam Tobin-Hochstadt
62653d3c41
Error on duplicate type annotations.
...
svn: r17549
2010-01-07 21:20:45 +00:00
Sam Tobin-Hochstadt
6199fc8867
Fix error messages on malformed All.
...
svn: r17546
2010-01-07 20:31:23 +00:00
Sam Tobin-Hochstadt
a40d5c5569
Improve error messages.
...
svn: r17545
2010-01-07 20:16:05 +00:00
Sam Tobin-Hochstadt
08457d35e3
Improve error messages in the simple case.
...
Change 'typecheck to Type Checker in error messages.
svn: r17542
2010-01-07 19:41:42 +00:00
Sam Tobin-Hochstadt
b71b196764
More type names
...
Fixes PR 10646 (as it evolved)
svn: r17533
2010-01-07 16:48:05 +00:00
Sam Tobin-Hochstadt
bcee60dfd8
fix typo
...
svn: r17530
2010-01-07 15:14:33 +00:00
Sam Tobin-Hochstadt
a8e1c829c2
Fix `type-apply'
...
Fix duplicate filters
svn: r17522
2010-01-07 00:55:51 +00:00
Sam Tobin-Hochstadt
8b7fb01692
fix lots of numeric types
...
svn: r17520
2010-01-06 23:21:31 +00:00
Sam Tobin-Hochstadt
c7cb124c95
Put dynamic behavior of `check-expect' into functions.
...
Give those functions types.
svn: r17519
2010-01-06 23:03:08 +00:00
Sam Tobin-Hochstadt
582ca03d18
Use syntax-parse and syntax-classes for type annotation macros.
...
Add `let-values:' and `let*-values:', fixes PR 9793
svn: r17516
2010-01-06 22:15:18 +00:00
Matthew Flatt
e68aabd67a
change expand and local-expand to lift certificates
...
svn: r17439
2009-12-30 17:27:38 +00:00
Sam Tobin-Hochstadt
5af212e825
Add `make-list'
...
Fix `let/ec:'
svn: r17340
2009-12-17 19:01:23 +00:00
Sam Tobin-Hochstadt
b9fd34b925
Fix type of string->number
...
svn: r17313
2009-12-15 22:03:10 +00:00
Sam Tobin-Hochstadt
9b13bbb89c
fix typo
...
svn: r17294
2009-12-14 20:00:12 +00:00
Sam Tobin-Hochstadt
22903bffcd
Fix handling of logical props in `tc-if'.
...
New numeric hierarchy.
Quoted lists and vectors now use the expected type, and quoted lists have (List a b c) type.
Fix some contracts.
More general handling of polymorphic function application.
Use `make-provide/contract-transformer' to generate correct blame for typed provided identifiers.
Add mutable pairs.
Use `raise-syntax-error' for better error messages in mzscheme.
Use `match*' instead of `list'
Some fixes to appease the contract checking.
Catch-all printing cases.
Use names in Base contract generation.
Types for lots of new primitives.
Move numeric primitives to their own file.
Move indexing primites to their own abstracted file.
Better error message from `define-struct:'
Fix 'insert-large-letters.ss' for new Number hierarchy.
Add `typed/scheme' and `typed/scheme/base', which use new number hierarcy types, stricter indexing types.
svn: r17284
2009-12-13 04:45:17 +00:00
Sam Tobin-Hochstadt
a1f647121d
Fix type of sqrt
...
svn: r17273
2009-12-11 23:08:48 +00:00
Sam Tobin-Hochstadt
d0c8a19ce8
Fix abstraction of implications.
...
Fix contract for lookup-typed/lexical.
Default cases for printing.
Abstract out indexing functions for Nat/Integer split.
svn: r17272
2009-12-11 23:00:37 +00:00
Sam Tobin-Hochstadt
dde2c1fb18
fix sorting
...
svn: r17270
2009-12-11 17:09:51 +00:00
Sam Tobin-Hochstadt
791ec55787
fixes
...
svn: r17265
2009-12-11 00:25:59 +00:00
Sam Tobin-Hochstadt
92dbf99965
logic works properly now, it seems
...
svn: r17264
2009-12-10 23:35:28 +00:00
Sam Tobin-Hochstadt
16c152e5a4
revert all of the interning changes since they didn't work
...
svn: r17262
2009-12-10 17:15:17 +00:00
Sam Tobin-Hochstadt
cd0a94d465
sync to trunk
...
svn: r17249
2009-12-09 19:44:12 +00:00
Sam Tobin-Hochstadt
be77cee733
Fix parsing of quoted lists in types to produce list types.
...
svn: r17237
2009-12-07 15:50:51 +00:00
Sam Tobin-Hochstadt
eae4c140fa
conversion to contracts for optional keywords
...
svn: r17236
2009-12-07 15:34:54 +00:00
Sam Tobin-Hochstadt
70f085713d
PR 10647
...
svn: r17235
2009-12-07 13:55:36 +00:00
Sam Tobin-Hochstadt
76b10347da
Support some keyword arguments in type parsing/type->contract.
...
svn: r17189
2009-12-05 00:48:46 +00:00
Sam Tobin-Hochstadt
e3bafbe298
checkpoint
...
svn: r17054
2009-11-25 02:30:41 +00:00
Sam Tobin-Hochstadt
070d061ff5
doc edit
...
svn: r17047
2009-11-24 20:08:33 +00:00
Sam Tobin-Hochstadt
29c4a84183
checkpoint
...
svn: r17045
2009-11-24 17:10:44 +00:00
Sam Tobin-Hochstadt
176920530f
improve error messages with `syntax-parse'
...
svn: r17023
2009-11-24 04:04:31 +00:00
Sam Tobin-Hochstadt
406b5c384d
use `make-provide/contract-transformer'
...
svn: r16949
2009-11-21 22:21:36 +00:00