Stevie Strickland
395e0fc733
Otherwise we don't handle nesting.
...
original commit: 052849c1bbca03cd4aa778665da87f919959c48f
2008-06-18 18:09:50 -04:00
Sam Tobin-Hochstadt
a290297005
Fix identifier issues in fold-left/fold-right.
...
original commit: 8a66c759dc293fb822d89c99b8ec56dd3289c80d
2008-06-18 17:36:12 -04:00
Sam Tobin-Hochstadt
385809eca8
Tests in here that now succeed
...
original commit: b5bfb189610fed971b4a37f5a4191d72dc66548e
2008-06-18 17:22:16 -04:00
Stevie Strickland
5c8a9dfc5d
I don't know why this wasn't caught before, but with recent changes, it's now
...
caught correctly.
original commit: f1211df156a37c709bc6f13077bc0430cd901617
2008-06-18 16:16:11 -04:00
Stevie Strickland
b6fda17f3a
Remove this, as it isn't needed.
...
original commit: 449a784c1da3a658b84cf53b7ebead5909bd4fa0
2008-06-18 16:03:45 -04:00
Stevie Strickland
b59b032342
Split this out into what should succeed and what should fail.
...
original commit: f80711bc9e3eb33aae1b9bb52d7f9033a1d83936
2008-06-18 15:07:00 -04:00
Stevie Strickland
0af62b0c58
Forgot to add stars here.
...
original commit: 0c6ad7f08be86584eea8daab5c96728dbbd7e982
2008-06-18 15:06:48 -04:00
Stevie Strickland
1bbdcf1ccf
New test for lambda formal list mismatches.
...
original commit: 467b138cdacde26bcad3bbb9955fc62cfa9f1536
2008-06-18 15:03:12 -04:00
Stevie Strickland
9544bcbd1f
Add * where appropriate.
...
original commit: 4b3508a89004c5334e856ad0f5b6988881097775
2008-06-18 13:01:43 -04:00
Stevie Strickland
a8a55f440a
* Should have used star (bound in syntax-case), not just * in type-of-formals
...
* I'm pretty sure ann should never get a starred or dotted type, since those
can't appear outside of an arrow context.
original commit: 4010a39c2d177f56c79ca561f02b00bc082d9bdd
2008-06-18 12:57:52 -04:00
Stevie Strickland
978e6acffa
No need for this, it's handled by a case lower down (and correctly, so why
...
force changes in two positions?)
original commit: 6a30c9dec99921e7ffff058bbb130b72a2695f55
2008-06-18 12:45:08 -04:00
Stevie Strickland
9d55a9e592
* Enforce the use of a '*' in list-like rest args.
...
* Abstract out annotation errors so that we can report it in the other case
where it's useful.
original commit: c2a53b316be90d81b1af0afd4acb4f22b5dc57c9
2008-06-18 12:31:08 -04:00
Sam Tobin-Hochstadt
f8ed6299c4
More tests. Not all of them pass yet, but we are hopeful.
...
original commit: 8e498458aa635b201db6c005241d436f644c940d
2008-06-17 18:10:41 -04:00
Sam Tobin-Hochstadt
4271f734a6
Checkpoint.
...
original commit: dfdfae95d7d16ef3fa97503cfa0156101dc275b3
2008-06-17 18:10:17 -04:00
Sam Tobin-Hochstadt
4853428482
Don't produce extra errors for top-level defines.
...
Lots more error message improvements for application.
Work on polydots apply.
Extend environment only in the proper place in plambda.
Don't let a variable unify with a dotted variable.
original commit: c8a2810742514c9f78b006930e6f327794af0228
2008-06-17 16:28:34 -04:00
Sam Tobin-Hochstadt
2a935208e9
New tests
...
original commit: 3f180f88daf777504d1d210cb9115118cab629b8
2008-06-17 16:24:30 -04:00
Sam Tobin-Hochstadt
64c709bbb7
New tests
...
original commit: 59e2dc4dea772cae5af0a2c7b72b1737864afb20
2008-06-17 14:28:41 -04:00
Sam Tobin-Hochstadt
265f9c9009
Adding testcases for dotted function application to rest args via apply.
...
original commit: 93c937f909b431fa64c49515ae66d87f42711e2b
2008-06-17 12:58:15 -04:00
Sam Tobin-Hochstadt
a313b99999
Add handling of dotted functions when not wrapped with a big lambda.
...
original commit: 1bef5f9d0b7af964d904575dc6976d132ba76b5c
2008-06-17 12:57:29 -04:00
Sam Tobin-Hochstadt
ca3e58f3a6
Use map instead of map*
...
original commit: c7733e5e34dfb6f22d7ddb07c5e17192a5679b91
2008-06-17 10:46:39 -04:00
Stevie Strickland
e3734750db
Add examples of each.
...
original commit: bcb205a9303bdda29c94f5239e919ceef90145bb
2008-06-16 19:02:45 -04:00
Sam Tobin-Hochstadt
31f4011387
Definition (but not use) of ... vars
...
original commit: 1b998d7eb8b2f35d5daf0f991bf33fc45bd4e06d
2008-06-16 16:47:08 -04:00
Sam Tobin-Hochstadt
8d9ca01cf5
Source location in synthetic module begin.
...
original commit: 055eb3cd0b2b1f57d79808c40e3dc5566b94d65b
2008-06-16 16:34:09 -04:00
Sam Tobin-Hochstadt
2afa0ac8f1
Change map* to map.
...
original commit: a43b2f5681c576e9b22ff7926ca48ddacfcbcfc2
2008-06-16 13:28:27 -04:00
Sam Tobin-Hochstadt
12aef5cc7e
Remove map*
...
original commit: fdb780fb00cb13fbdd1bd08c544af092f75aeb44
2008-06-16 13:27:59 -04:00
Sam Tobin-Hochstadt
5f244e7f42
Fix for-each type.
...
Improve ... error messages.
original commit: 2ad440310828bc296223e23db3cdee84ad5fce34
2008-06-16 13:26:15 -04:00
Stevie Strickland
b760e45d17
Change over some of the base environment over to dotted types.
...
original commit: c4e253d2d18020b428612227dac6bd789b59d43c
2008-06-16 13:01:16 -04:00
Stevie Strickland
1f15e35925
I don't see how this isn't a bug.
...
original commit: 14da71b5c240b248d97be77ffd4c220af3ef6146
2008-06-15 15:56:44 -04:00
Sam Tobin-Hochstadt
286e9b8510
More testing.
...
original commit: 27073e07fd8e48e74451937195867d5d134554c1
2008-06-13 17:04:22 -04:00
Stevie Strickland
f72b9f1e13
Test cases that should succeed and fail for star/dots mixes.
...
original commit: df91f204d21f1f345dd0fc9ee69004edd2eb7dc7
2008-06-13 12:08:43 -04:00
Sam Tobin-Hochstadt
459a5f8f8e
Implement dmap operations.
...
Remove lots of unneeded requires.
Add in-list-forever and extend to utils.ss
Add optional variable argument to c-meet.
original commit: e2c0b4e6427ba184e2204f4f7be96f8a09b3430e
2008-06-12 17:10:31 -04:00
Stevie Strickland
c5e99e9f54
Add fixed-args mismatch between starred/dotted functions.
...
original commit: 6da5171b2883610e2da221963926630814f5ad21
2008-06-12 14:08:23 -04:00
Sam Tobin-Hochstadt
87d8bc5bc8
Add new tests
...
original commit: eb9147a0fa4048647a328d994eddd979e4c3a7fa
2008-06-11 17:16:58 -04:00
Sam Tobin-Hochstadt
4ec8076d0d
Fix case-lambda type printing.
...
Begin work on handling case-lambda/varargs in ... inference.
Implement hash-union, and use to fix big bugs.
original commit: 457339d9a8876422153af0731d83bc93fdcc993a
2008-06-11 17:16:40 -04:00
Sam Tobin-Hochstadt
f750b30c2f
Added new test for constraint solving on starred functions with different fixed arg lengths.
...
original commit: 97847c32c4dd3d55baa3ff2b7a5ac9f7ed0b83fe
2008-06-11 11:41:46 -04:00
Sam Tobin-Hochstadt
15f6c532e6
Changes to tests for ...
...
original commit: 4ae41412579f7c6daa1d2b527897a50d4f098ea7
2008-06-10 16:40:05 -04:00
Sam Tobin-Hochstadt
0085310b4f
Use new * syntax in prims.
...
Handle extra tables in infer.
original commit: 975f26b93d9372f46960a42915d06702e9be9b49
2008-06-10 16:38:14 -04:00
Sam Tobin-Hochstadt
ed9af8fdfd
Add syntax for ...
...
original commit: e29d4eb881b92a7f96ae1bbb248e311f7f8f90bc
2008-06-10 15:41:56 -04:00
Sam Tobin-Hochstadt
9e78ce0847
Switch subtype to use infer.ss for unification.
...
original commit: 606ef69d205499ad6071d3a0e1d228938c5299b1
2008-06-10 15:05:13 -04:00
Sam Tobin-Hochstadt
f9708ff850
Remove infer.ss
...
original commit: 6afcb9aa9625376b1d634ed96ab96b8ae48b47f8
2008-06-10 14:27:49 -04:00
Sam Tobin-Hochstadt
d6f8dfc983
Instantiation appears to work.
...
original commit: e912818f866d6bcbeb43e4567ba9d0f1d58d6e3c
2008-06-10 14:10:40 -04:00
Sam Tobin-Hochstadt
d071154438
Instantiate w/ dots
...
original commit: 5c8c2d3d96f02f4f8652b3c8e6fb70803ff85881
2008-06-10 12:29:53 -04:00
Sam Tobin-Hochstadt
a93289aedd
Substituion now works
...
original commit: a7f81d931d9bef247b9215cb1e6fdd3e616dd6a2
2008-06-10 12:21:59 -04:00
Sam Tobin-Hochstadt
583b640833
Fix instantiate and abstract to handle bounds properly.
...
NEW INVARIANT - only use instantiate w/ names
original commit: 017f756c7735a0e6083fa2f52eaafc0f20b11912
2008-06-10 11:29:56 -04:00
Sam Tobin-Hochstadt
69c7303342
Add new datastructures for dots work.
...
original commit: a7c63840e4e2b80dd8007921334f7cbd245fe3de
2008-06-09 17:07:41 -04:00
Sam Tobin-Hochstadt
e52e768126
Refer to tech terms correctly.
...
svn: r10196
original commit: dc47e25c4417f44d6e6721a5e1b9933c62c78fac
2008-06-09 16:08:04 +00:00
Sam Tobin-Hochstadt
e78788ce0e
Run tests in new namespaces.
...
svn: r10180
original commit: d9134861c45c593f50b6add3fe95ef00f27d457a
2008-06-06 17:19:53 +00:00
Sam Tobin-Hochstadt
55b2a8b731
Add new tests.
...
Fix old tests for new Struct datatype.
svn: r10161
original commit: 5a8bc6fabb684b09e847535c170a8105ae596479
2008-06-05 21:42:44 +00:00
Sam Tobin-Hochstadt
4a328d1314
Add namespace ops.
...
Check if typecheck returned nothing for top-level form.
Improve error message.
svn: r10160
original commit: 1da9a0c4b84ea15e608a83028c07c75885082b29
2008-06-05 21:36:45 +00:00
Sam Tobin-Hochstadt
f64424185f
Improve docs.
...
svn: r10134
original commit: 67ccf9ddc0c6e9be4203d488c3c70100b011930c
2008-06-04 20:17:02 +00:00