Sam Tobin-Hochstadt
67ccf9ddc0
Improve docs.
...
svn: r10134
2008-06-04 20:17:02 +00:00
Sam Tobin-Hochstadt
6ec49385a3
add expand and expand-once
...
svn: r10133
2008-06-04 20:16:51 +00:00
Sam Tobin-Hochstadt
bf8dd8264e
Fix quoting.
...
svn: r10132
2008-06-04 20:16:17 +00:00
Sam Tobin-Hochstadt
9c4ab9014f
Add new syntax for inst and ann, add define-struct:
...
svn: r10131
2008-06-04 20:15:54 +00:00
Sam Tobin-Hochstadt
1c4fab4bfd
Add a cert to go with the struct predicate.
...
svn: r10061
2008-05-30 20:03:54 +00:00
Sam Tobin-Hochstadt
f783e05cd8
Fix provide w/ structs.
...
svn: r10055
2008-05-30 18:56:49 +00:00
Stevie Strickland
f39d4e33ed
Adding foldr.
...
svn: r10048
2008-05-30 16:20:33 +00:00
Sam Tobin-Hochstadt
a67344ddf2
Reset after reporting errors.
...
svn: r10047
2008-05-30 16:19:47 +00:00
Sam Tobin-Hochstadt
20a9a3e0b3
Report errors at the repl.
...
svn: r10044
2008-05-30 16:01:44 +00:00
Sam Tobin-Hochstadt
9777a6d079
Fix : for intdef.
...
svn: r10013
2008-05-28 22:39:04 +00:00
Stevie Strickland
ddf289e1b4
Add ternary for-each.
...
svn: r10011
2008-05-28 20:43:01 +00:00
Stevie Strickland
1db5280102
Add assf and findf, and also add foldl at binary functions.
...
svn: r9982
2008-05-27 18:33:52 +00:00
Matthew Flatt
d1628d6238
fix some phase issues in 'match' implementation
...
svn: r9963
2008-05-26 19:51:06 +00:00
Stevie Strickland
02f6018788
Adding the type for the last function.
...
svn: r9929
2008-05-22 16:41:04 +00:00
Sam Tobin-Hochstadt
a973a8cbd5
Don't statically require mred in tests.
...
svn: r9928
2008-05-22 16:36:06 +00:00
Sam Tobin-Hochstadt
4e5abded3c
Don't infinite loop on recursive types.
...
svn: r9925
2008-05-21 20:12:23 +00:00
Sam Tobin-Hochstadt
ac1027af8b
Handle errors in type application.
...
svn: r9915
2008-05-20 20:47:18 +00:00
Sam Tobin-Hochstadt
1e7cffdcdf
Instantiate applications before doing inference.
...
svn: r9914
2008-05-20 20:46:15 +00:00
Sam Tobin-Hochstadt
5039a81624
Handle checking single lambda against expected CL.
...
svn: r9913
2008-05-20 20:45:38 +00:00
Sam Tobin-Hochstadt
6d87dbc016
Delay type parsing error.
...
svn: r9912
2008-05-20 20:43:43 +00:00
Sam Tobin-Hochstadt
b5ee687d05
Remove unneeded packages.
...
svn: r9911
2008-05-20 20:43:29 +00:00
Sam Tobin-Hochstadt
c3c6131b9e
Fix handling of rest arg contracts.
...
svn: r9910
2008-05-20 20:42:57 +00:00
Sam Tobin-Hochstadt
03d2cb7dd9
Improve more types.
...
svn: r9705
2008-05-06 22:05:57 +00:00
Sam Tobin-Hochstadt
7198eca987
Print variables.
...
svn: r9704
2008-05-06 22:05:23 +00:00
Sam Tobin-Hochstadt
e5e669e768
Return a result.
...
svn: r9703
2008-05-06 22:05:05 +00:00
Sam Tobin-Hochstadt
f466da04d1
Fix promotion/demotion for vector/boxes.
...
svn: r9702
2008-05-06 22:04:46 +00:00
Sam Tobin-Hochstadt
03eac9472e
Input checking for require-typed-struct.
...
svn: r9701
2008-05-06 20:40:38 +00:00
Stevie Strickland
6ae8e6ab50
A couple more functions I've used in my work.
...
svn: r9697
2008-05-06 18:57:33 +00:00
Sam Tobin-Hochstadt
c6f2b2d517
Remove unneccessary requires.
...
Fix let checking to use annotations as the expected type for the RHS.
Fix bug in use of expected types in inference.
svn: r9674
2008-05-06 00:42:28 +00:00
Sam Tobin-Hochstadt
dbc3fa4367
Reduce quantity of requires.
...
svn: r9665
2008-05-05 21:27:10 +00:00
Stevie Strickland
bd9aaddc3f
Fix typo.
...
svn: r9661
2008-05-05 17:05:09 +00:00
Sam Tobin-Hochstadt
1f7207f0b5
Fix parameterization.
...
svn: r9660
2008-05-05 17:00:49 +00:00
Stevie Strickland
3112216689
Adding types for functions that I used in my latest typed-scheme module,
...
plus fixing the type for length since it should return an Integer.
svn: r9630
2008-05-03 15:10:26 +00:00
Sam Tobin-Hochstadt
8e9e7002d4
Try harder to remove duplicates from unions.
...
svn: r9614
2008-05-03 00:02:55 +00:00
Sam Tobin-Hochstadt
37d107b737
Readd more specific types for + - *
...
svn: r9613
2008-05-02 23:46:17 +00:00
Sam Tobin-Hochstadt
fd44d9b01f
Improve the type of andmap.
...
Steps toward reducing the number of initializations.
svn: r9612
2008-05-02 23:35:37 +00:00
Sam Tobin-Hochstadt
ac1acc7bf6
Fix error handling when non-poly Name is applied.
...
svn: r9607
2008-05-02 22:19:18 +00:00
Sam Tobin-Hochstadt
97715dc9fb
Use library nest.
...
svn: r9598
2008-05-02 18:03:05 +00:00
Sam Tobin-Hochstadt
3b0c0fcc8c
Improve error messages for polymorphic functions in apply.
...
Fix tc-plambda when expected is #f.
svn: r9596
2008-05-02 17:20:55 +00:00
Sam Tobin-Hochstadt
f410bcf3a2
Fix namespace issues with compile-time expand.
...
Fix error reporting.
svn: r9576
2008-05-01 22:52:39 +00:00
Sam Tobin-Hochstadt
1449dec372
Infer for fewer variables.
...
Improve error messages.
Extend csets to lists of maps.
Handle case-lambda arguments to poly funcs better.
Don't fail when there isn't a minimal substitution.
svn: r9573
2008-05-01 20:10:56 +00:00
Sam Tobin-Hochstadt
767158c914
remove extra types that don't work with new infer
...
svn: r9568
2008-05-01 17:43:53 +00:00
Sam Tobin-Hochstadt
5af7d626be
Merge in changes from 660.
...
svn: r9567
2008-05-01 17:35:50 +00:00
Sam Tobin-Hochstadt
5c3d329a1b
Remove uses of old inference.
...
Add missing cases to new infer.
svn: r9551
2008-04-30 21:54:32 +00:00
Sam Tobin-Hochstadt
8307bf835b
Fix new inference algorithm to handle all test cases.
...
svn: r9538
2008-04-29 21:42:37 +00:00
Sam Tobin-Hochstadt
ad75b18eaf
Use new inference engine.
...
svn: r9530
2008-04-29 01:55:37 +00:00
Sam Tobin-Hochstadt
1d21ec5dda
Control multiple errors with a parameter.
...
Don't use same code for handling type ascription and annotation.
svn: r9529
2008-04-29 01:42:07 +00:00
Sam Tobin-Hochstadt
a39a9ddfb7
comment out exampled
...
svn: r9521
2008-04-28 21:21:29 +00:00
Sam Tobin-Hochstadt
0255f00130
fix again
...
svn: r9520
2008-04-28 21:21:29 +00:00
Sam Tobin-Hochstadt
032a4eb7b9
aaaah!
...
svn: r9519
2008-04-28 21:21:28 +00:00