Commit Graph

72 Commits

Author SHA1 Message Date
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
Sam Tobin-Hochstadt
72effc076d Add matthew's test case.
svn: r9518
2008-04-28 21:21:27 +00:00
Sam Tobin-Hochstadt
1ca37e8def Fix comparison.
svn: r9517
2008-04-28 21:21:27 +00:00
Sam Tobin-Hochstadt
3f5550e705 fix
svn: r9516
2008-04-28 21:21:26 +00:00
Sam Tobin-Hochstadt
0f2fc610ce better err message
don't create duplicate imports

svn: r9515
2008-04-28 21:21:26 +00:00
Sam Tobin-Hochstadt
5b19df4bcb check for dups
svn: r9514
2008-04-28 21:21:25 +00:00
Eli Barzilay
6f00cd8a7c docs go in the main tree
svn: r9478
2008-04-25 19:55:23 +00:00
Sam Tobin-Hochstadt
2f9a7fc819 ignore`
svn: r9411
2008-04-22 22:08:07 +00:00
Sam Tobin-Hochstadt
029e4eb86e delay type error messages for type parsing.
svn: r9410
2008-04-22 22:05:34 +00:00
Sam Tobin-Hochstadt
f9a0378510 Provide more stuff for testing.
svn: r9409
2008-04-22 22:05:34 +00:00
Sam Tobin-Hochstadt
61f2319442 ignore
svn: r9408
2008-04-22 22:05:33 +00:00
Sam Tobin-Hochstadt
3d020b33fd Handle 0 and 1 cases better.
Use sync to avoid sleeping.

svn: r9407
2008-04-22 22:05:33 +00:00
Sam Tobin-Hochstadt
2ecee0968c compiles
svn: r9406
2008-04-22 22:05:32 +00:00
Sam Tobin-Hochstadt
bd9d8b5ff3 Multiple type errors.
svn: r9405
2008-04-22 22:05:31 +00:00