Sam Tobin-Hochstadt
cfd65e7fa2
Use vector-immutableof' and
box-immutable/c' to handle boxes and vectors.
...
svn: r15199
2009-06-17 20:49:13 +00:00
Carl Eastlund
6ae56e5348
Added a test for new datum->syntax type clauses.
...
svn: r15159
2009-06-12 23:36:08 +00:00
Sam Tobin-Hochstadt
7b82069fa0
Add NoFilter and NoObject to represent no information about filter/object.
...
Handle these properly in check-below (with test).
Use NoFilter and NoObject to make if typechecking work properly with filters.
Reject mismatched filters/objects (with test).
New version of require/typed that handles opaque and struct requires.
Reorganize docs around this.
svn: r15155
2009-06-12 19:04:39 +00:00
Sam Tobin-Hochstadt
e14e58c8df
hash table keys are contravariant, not covariant
...
svn: r15077
2009-06-04 14:38:59 +00:00
Sam Tobin-Hochstadt
c1eb25e47f
move additional tests to test dir
...
svn: r14963
2009-05-23 23:00:23 +00:00
Sam Tobin-Hochstadt
e772687a58
Add unit tests for andmap of ..., Bot return to MV context
...
svn: r14929
2009-05-22 19:08:12 +00:00
Sam Tobin-Hochstadt
5b7249eea5
Add test of andmap.
...
svn: r14928
2009-05-22 19:04:22 +00:00
Sam Tobin-Hochstadt
0cd135c3bb
Add test for unreachble code with expected type.
...
svn: r14869
2009-05-19 15:24:12 +00:00
Sam Tobin-Hochstadt
f712495009
add syntax locations to cond* macro
...
svn: r14868
2009-05-19 15:23:57 +00:00
Sam Tobin-Hochstadt
676f827ab0
sync to trunk
...
svn: r14861
2009-05-18 22:19:46 +00:00
Sam Tobin-Hochstadt
7a24d39348
make struct-exec a little more interesting
...
svn: r14828
2009-05-15 15:47:57 +00:00
Sam Tobin-Hochstadt
af623cbdc7
add test of `apply values'
...
svn: r14816
2009-05-14 18:57:23 +00:00
Sam Tobin-Hochstadt
b30338e0c5
Add start of type->contract test suite.
...
Add test for poly annotation failure.
svn: r14809
2009-05-14 14:45:07 +00:00
Sam Tobin-Hochstadt
88159e2479
add require
...
svn: r14798
2009-05-13 21:25:41 +00:00
Sam Tobin-Hochstadt
5f1b4a7daf
Fix two tests
...
svn: r14797
2009-05-13 16:17:01 +00:00
Sam Tobin-Hochstadt
54eb4cc314
formatting
...
svn: r14791
2009-05-12 21:50:16 +00:00
Sam Tobin-Hochstadt
82c6720bc9
Fix more tests for false info
...
svn: r14787
2009-05-12 19:54:09 +00:00
Sam Tobin-Hochstadt
f24cbf9952
Fix more tests with truth info.
...
svn: r14784
2009-05-12 16:52:55 +00:00
Sam Tobin-Hochstadt
e796cd802b
fix wrong results - 25 fails
...
svn: r14783
2009-05-12 15:30:15 +00:00
Sam Tobin-Hochstadt
c19b66d5db
add tests for overlap
...
fix more typecheck tests - 29 failures
svn: r14782
2009-05-12 15:17:30 +00:00
Sam Tobin-Hochstadt
1ce4411ceb
fix tests to handle identifiers, down to 38 fails
...
svn: r14775
2009-05-11 19:40:58 +00:00
Sam Tobin-Hochstadt
a828b89e92
Fix a lot of tests - 47 fail.
...
svn: r14757
2009-05-08 23:12:13 +00:00
Sam Tobin-Hochstadt
dcc2ff72d9
all tests now compile
...
svn: r14753
2009-05-08 21:38:30 +00:00
Sam Tobin-Hochstadt
9f3d719b4e
Fix parsing of All to only use parse-values-type when appropriate.
...
Fix tests for new names.
Fix tests for parse-type not handling values.
svn: r14752
2009-05-08 20:26:27 +00:00
Sam Tobin-Hochstadt
f6f9b20f17
Rename vars.
...
svn: r14749
2009-05-08 20:10:53 +00:00
Sam Tobin-Hochstadt
29e123ccf3
sync to trunk
...
svn: r14602
2009-04-24 21:30:40 +00:00
Sam Tobin-Hochstadt
2d7d94031d
sync to trunk
...
svn: r14600
2009-04-24 21:22:59 +00:00
Sam Tobin-Hochstadt
60325b670c
Fix handling of filters that refer to out-of-scope vars
...
svn: r14574
2009-04-21 16:13:00 +00:00
Sam Tobin-Hochstadt
b1b5fe4816
Add test for match improvements.
...
Improve handling of inference for let loop.
svn: r14573
2009-04-21 15:35:05 +00:00
Sam Tobin-Hochstadt
929dc1d5b2
Fix polymorphic structure predicates.
...
svn: r14483
2009-04-10 00:07:11 +00:00
Sam Tobin-Hochstadt
69a3b7a70f
Fix bug with structure keys and polymorphic structs.
...
Use `match*'
Add test
svn: r14482
2009-04-09 23:52:13 +00:00
Sam Tobin-Hochstadt
ac7e879360
Fix bug with match dots.
...
Fix handling of keywords.
Add keywords in call-with-input/output-port.
svn: r14469
2009-04-08 20:24:05 +00:00
Sam Tobin-Hochstadt
2aab576237
Report more information for untyped imported identifiers
...
svn: r14418
2009-04-03 22:42:29 +00:00
Sam Tobin-Hochstadt
6d302a9304
Require that `require/typed' uses the contracted version of typed identifiers.
...
svn: r14415
2009-04-03 18:42:38 +00:00
Sam Tobin-Hochstadt
cd4305ca4f
Add refinement types.
...
Add `parse-commmand-line'
svn: r14372
2009-03-31 03:33:04 +00:00
Sam Tobin-Hochstadt
b1f5b19563
merge to trunk a while ago
...
svn: r14353
2009-03-30 12:52:30 +00:00
Sam Tobin-Hochstadt
60e096913d
First step to polymorphic functions in typed/untyped interface
...
- poly/c contract from Carl/Stevie
- generate the contracts
- test
- use in typed/srfi/14
svn: r14241
2009-03-23 18:29:07 +00:00
Sam Tobin-Hochstadt
6d8014783b
Use 'no-free-identifier=? property with rename transformers.
...
Allow use of ... without bound when only one ... var in scope.
svn: r14214
2009-03-22 12:41:26 +00:00
Sam Tobin-Hochstadt
0ed8d251bf
Allow `apply' of non-uniform polymorphic functions to fixed-length list arguments.
...
Please backport.
svn: r14162
2009-03-17 21:18:50 +00:00
Sam Tobin-Hochstadt
f1840f4eeb
sync to trunk
...
svn: r14074
2009-03-12 15:28:19 +00:00
Sam Tobin-Hochstadt
2ad93c7da5
new tests for struct providing
...
svn: r14033
2009-03-10 20:27:46 +00:00
Sam Tobin-Hochstadt
d1ac259bcc
try to fix this test
...
svn: r13999
2009-03-06 23:37:05 +00:00
Sam Tobin-Hochstadt
147cac076c
handle subtyping for varargs functions
...
svn: r13962
2009-03-05 00:09:43 +00:00
Sam Tobin-Hochstadt
f106e88551
remove contract errors
...
svn: r13959
2009-03-04 20:31:46 +00:00
Sam Tobin-Hochstadt
8498619ab8
most test suites pass
...
svn: r13958
2009-03-04 20:26:34 +00:00
Sam Tobin-Hochstadt
9d0ee637c7
Fix name of Type/c
...
Fix fold on Result.
Add comments.
New -struct constructor with opt args.
Fix tests to agree with contracts.
svn: r13934
2009-03-03 23:18:00 +00:00
Sam Tobin-Hochstadt
6271f648c6
fix some requires
...
svn: r13925
2009-03-03 21:53:02 +00:00
Sam Tobin-Hochstadt
4615d7573e
subst-tests now pass
...
svn: r13923
2009-03-03 20:35:18 +00:00
Sam Tobin-Hochstadt
02efc28dff
Fix error message when polymorphic inference fails because of expected type.
...
Add test case.
svn: r13639
2009-02-16 02:12:13 +00:00
Sam Tobin-Hochstadt
204806a13a
revert back to regular parse type
...
svn: r13619
2009-02-15 21:57:30 +00:00