Sam Tobin-Hochstadt
a525d82a8d
Handle errors in type application.
...
svn: r9915
original commit: ac1027af8b38669bddf388951cee98e08892cb44
2008-05-20 20:47:18 +00:00
Sam Tobin-Hochstadt
13a8c13f74
Delay type parsing error.
...
svn: r9912
original commit: 6d87dbc01683f794eb803117c4cc8a367915c600
2008-05-20 20:43:43 +00:00
Sam Tobin-Hochstadt
526b3e3e98
move to correct dir
...
svn: r9909
original commit: e8123b83eccda0a6dd357f1dd653dbd67bbb27f5
2008-05-20 20:40:48 +00:00
Sam Tobin-Hochstadt
fb87901c3f
Finally fixed metric.ss
...
svn: r9908
original commit: c44d686a156c9b46b421b8dc3c4d99b50b997f3e
2008-05-20 20:40:14 +00:00
Sam Tobin-Hochstadt
5f3571f3d1
move not-passing tests
...
svn: r9707
original commit: b7d6c442b68e896bdd10cf711bafc4c9b2934241
2008-05-06 22:54:20 +00:00
Sam Tobin-Hochstadt
46da2ae802
new files
...
svn: r9706
original commit: 6825658675db01adfdd088a2efee29fd04aa8c1b
2008-05-06 22:53:30 +00:00
Sam Tobin-Hochstadt
1ae17fd3c0
Improve more types.
...
svn: r9705
original commit: 03d2cb7dd9c3d3f4b2a52f9adbe8c05ff265dc85
2008-05-06 22:05:57 +00:00
Sam Tobin-Hochstadt
7bdc141d55
Print variables.
...
svn: r9704
original commit: 7198eca987fe2f7915df93255bc4b9fa9cdf0d4e
2008-05-06 22:05:23 +00:00
Sam Tobin-Hochstadt
9ee2cb3d5f
Input checking for require-typed-struct.
...
svn: r9701
original commit: 03eac9472e99e638ffad13f702475a707178b7ad
2008-05-06 20:40:38 +00:00
Sam Tobin-Hochstadt
d6b097e5b6
New tests from Richard's bug reports.
...
svn: r9700
original commit: a3d192bc51eb9a6af22492ee2a0db20131c07179
2008-05-06 20:40:10 +00:00
Stevie Strickland
e4c4d15921
A couple more functions I've used in my work.
...
svn: r9697
original commit: 6ae8e6ab5060714130679297700c3fbb4822cf83
2008-05-06 18:57:33 +00:00
Sam Tobin-Hochstadt
433004b549
Test for more stuff.
...
svn: r9675
original commit: 5439241f53b403e95db3b9c637f769877f834866
2008-05-06 00:44:18 +00:00
Sam Tobin-Hochstadt
95d93f7ebb
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
original commit: c6f2b2d5178b85e0f961f37f2ae4f0e650c7fb3c
2008-05-06 00:42:28 +00:00
Sam Tobin-Hochstadt
0a434ecda3
more tests
...
svn: r9673
original commit: 2fc38964e50d00a899c64c4517c858ad3cfaa512
2008-05-06 00:34:28 +00:00
Sam Tobin-Hochstadt
f7e9881b1d
Reduce quantity of requires.
...
svn: r9665
original commit: dbc3fa436750cf7182093a3a8a2d448ed770fe80
2008-05-05 21:27:10 +00:00
Sam Tobin-Hochstadt
b77aba3d6b
More tests.
...
svn: r9664
original commit: 914de50133c8128cc9fe4b8a925f74a2c0a35645
2008-05-05 21:20:02 +00:00
Stevie Strickland
94cd504b90
Fix typo.
...
svn: r9661
original commit: bd9aaddc3f69c3878dbb3d07399110ef393d76e6
2008-05-05 17:05:09 +00:00
Sam Tobin-Hochstadt
21a115a51c
Fix parameterization.
...
svn: r9660
original commit: 1f7207f0b5e4837fcc1ab21ed2014ed1bb6e7833
2008-05-05 17:00:49 +00:00
Sam Tobin-Hochstadt
1976c16563
test for parameters
...
svn: r9659
original commit: 62cd19a42b3881cba6b66647ccd35c3e87ffb596
2008-05-05 17:00:32 +00:00
Stevie Strickland
bf2890d971
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
original commit: 3112216689dcf7e8f4b604287d80dff794545c8d
2008-05-03 15:10:26 +00:00
Sam Tobin-Hochstadt
0c8597a4d1
New test for multi-arg andmap.
...
Fix more things to be Integer.
Finally fix parse-type tests.
svn: r9615
original commit: 38e0297b074f5265f2acae112644d920982b493b
2008-05-03 00:03:43 +00:00
Sam Tobin-Hochstadt
cba2321c97
Try harder to remove duplicates from unions.
...
svn: r9614
original commit: 8e9e7002d4fd33a1723015d1b36016ad55704e6f
2008-05-03 00:02:55 +00:00
Sam Tobin-Hochstadt
94782bd566
Readd more specific types for + - *
...
svn: r9613
original commit: 37d107b737063bb65a91522f05e13b061866bd4c
2008-05-02 23:46:17 +00:00
Sam Tobin-Hochstadt
9e1c812b06
Improve the type of andmap.
...
Steps toward reducing the number of initializations.
svn: r9612
original commit: fd44d9b01ff4d50042e757d9e2f76dae046237bd
2008-05-02 23:35:37 +00:00
Sam Tobin-Hochstadt
2420a28529
new test
...
svn: r9610
original commit: 4e54165e2a011bf2b32b56d0d075d29d3e0299bb
2008-05-02 22:22:44 +00:00
Sam Tobin-Hochstadt
f21a54a6cb
Run typecheck-tests expansion at runtime, to make compiling work.
...
Comment-out now-failing tests, because of marhalling issues.
Fix fv-tests.
Don't use reader syntax in annotation-tests.
Try some stuff for parse-type-tests.
Add new regression test.
svn: r9608
original commit: 32730fff6b564078f359235cb0a1ff67c791134e
2008-05-02 22:21:01 +00:00
Sam Tobin-Hochstadt
b6c5754410
Fix error handling when non-poly Name is applied.
...
svn: r9607
original commit: ac1acc7bf6534c88d8eeb889c75706b3f99f8910
2008-05-02 22:19:18 +00:00
Sam Tobin-Hochstadt
4664fc9a4f
Use library nest.
...
svn: r9598
original commit: 97715dc9fbebf203d5baf90a7fcedcb4c5ae9cf1
2008-05-02 18:03:05 +00:00
Sam Tobin-Hochstadt
30eb3d08e0
Use syntax-loc in tests.
...
Don't check that effects match, since they may involve identifiers.
Fix tests for correct type names, Integer.
svn: r9595
original commit: ccd1337e310ace6eea15fc2d87d8fb7f11a1d69c
2008-05-02 17:20:05 +00:00
Sam Tobin-Hochstadt
09dbb124b9
Most typecheck tests now pass.
...
Add two new success tests.
svn: r9577
original commit: 567e438f1d77d31aae4e25ea250da644638fb5de
2008-05-01 22:53:10 +00:00
Sam Tobin-Hochstadt
86659a3ad3
Fix namespace issues with compile-time expand.
...
Fix error reporting.
svn: r9576
original commit: f410bcf3a288f9c41b836495d12f8867060802ec
2008-05-01 22:52:39 +00:00
Sam Tobin-Hochstadt
c38c1c57b2
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
original commit: 1449dec3727e591409f476ca4ddc9f8e96b3a102
2008-05-01 20:10:56 +00:00
Sam Tobin-Hochstadt
c0634d3236
remove extra types that don't work with new infer
...
svn: r9568
original commit: 767158c914add502a9d3d40d08e5cbc0089f437f
2008-05-01 17:43:53 +00:00
Sam Tobin-Hochstadt
1a81b774bd
Merge in changes from 660.
...
svn: r9567
original commit: 5af7d626beeb76e42488af49d0c596595680ffba
2008-05-01 17:35:50 +00:00
Sam Tobin-Hochstadt
cb45933a9d
Remove uses of old inference.
...
Add missing cases to new infer.
svn: r9551
original commit: 5c3d329a1bbb5a226e3faec5d647ae9bc6adf81f
2008-04-30 21:54:32 +00:00
Sam Tobin-Hochstadt
7df9d1983a
Disable tests for old inference.
...
svn: r9550
original commit: c714d0ac594a8372122bff137b51f0ba19facb97
2008-04-30 21:54:03 +00:00
Sam Tobin-Hochstadt
ba48e257f0
Fix new inference algorithm to handle all test cases.
...
svn: r9538
original commit: 8307bf835b23160b58b52c50815997f5fd8e11e8
2008-04-29 21:42:37 +00:00
Sam Tobin-Hochstadt
375a4f5289
Ignore.
...
Remove supurious annotation.
svn: r9537
original commit: ab81b1d64feb13532d77dccf1b21bfd820793a19
2008-04-29 21:42:16 +00:00
Sam Tobin-Hochstadt
6afac96172
Control multiple errors with a parameter.
...
Don't use same code for handling type ascription and annotation.
svn: r9529
original commit: 1d21ec5ddab6264cf5df4a9f9793f4b40e77d120
2008-04-29 01:42:07 +00:00
Sam Tobin-Hochstadt
16fffb8706
Fix indentation.
...
Add missing variable annotation.
Remove unecessary annotations.
Now pass.
svn: r9522
original commit: 53709f1faffae5533a8a700582d13a817c829dd6
2008-04-28 21:21:30 +00:00
Eli Barzilay
66febb5ba5
docs go in the main tree
...
svn: r9478
original commit: 6f00cd8a7c6e5477b91af847e98ae76559baa5e9
2008-04-25 19:55:23 +00:00
Sam Tobin-Hochstadt
0ecdc4acab
delay type error messages for type parsing.
...
svn: r9410
original commit: 029e4eb86eeea75b3d2217e4c1c6948f88a1ba73
2008-04-22 22:05:34 +00:00
Sam Tobin-Hochstadt
39d43ae233
Multiple type errors.
...
svn: r9405
original commit: bd9d8b5ff33b6cc90d428642c5697f56da866bd9
2008-04-22 22:05:31 +00:00
Sam Tobin-Hochstadt
9fd128f7e5
Add typed scheme tests.
...
svn: r9404
original commit: fca36c126c2f26e8e930ad66220b4dccd6c86028
2008-04-22 21:58:10 +00:00
Sam Tobin-Hochstadt
9936e61c9a
Fix formatting for -> doc.
...
Fixes PR 9297.
svn: r9326
original commit: 5870e7261a805f02a3ec6a2d528dfd892bfa9850
2008-04-15 22:37:20 +00:00
Sam Tobin-Hochstadt
2e2f299a10
Don't print "checked foo".
...
Improve names in recursive contracts.
svn: r9298
original commit: 1039055628225ebed52d0b45a2fa22d782905108
2008-04-14 18:13:59 +00:00
Sam Tobin-Hochstadt
51b7de58e8
Split type defns into base-types.ss
...
Reformat.
svn: r9273
original commit: f23af68d6b0bbc9a82f8fea2178e5e7dfaf2d459
2008-04-12 00:10:32 +00:00
Sam Tobin-Hochstadt
979ec97b18
Fix mutated-vars for #%plain-lambda.
...
Require stuff.
Fix make-eq.
svn: r9245
original commit: 890cd46fa162f3db3e39097ca4503f203bb7a43f
2008-04-10 23:20:17 +00:00
Matthew Flatt
138dec2329
new hash function names and ops (3.99.0.23)
...
svn: r9209
original commit: 021d4d7527f39cc01b6b8952f4a90e61e55e8956
2008-04-08 21:42:38 +00:00
Sam Tobin-Hochstadt
2681d0f43d
Use contracts for def-binding.
...
Better error messages from require/typed.
svn: r9204
original commit: 909c20553d8c14901583bcaa9edd6674d60c2796
2008-04-08 17:42:13 +00:00