Commit Graph

83 Commits

Author SHA1 Message Date
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
Sam Tobin-Hochstadt
c0936b3db6 add expand and expand-once
svn: r10133

original commit: 6ec49385a3309e105d7fdf2c4fec61650ac8dc3e
2008-06-04 20:16:51 +00:00
Sam Tobin-Hochstadt
6391dfbda9 Add new syntax for inst and ann, add define-struct:
svn: r10131

original commit: 9c4ab9014f3ef36e63d9805ddfbacea48d0f8b32
2008-06-04 20:15:54 +00:00
Sam Tobin-Hochstadt
7a1d6f66dc Add a cert to go with the struct predicate.
svn: r10061

original commit: 1c4fab4bfdb50e515875bf595b3b228e1823b898
2008-05-30 20:03:54 +00:00
Sam Tobin-Hochstadt
d8b8ac1f84 Fix provide w/ structs.
svn: r10055

original commit: f783e05cd81c5e143159324d260f5c3014c8177c
2008-05-30 18:56:49 +00:00
Stevie Strickland
620af310fc Adding foldr.
svn: r10048

original commit: f39d4e33ede9b93895b885b19de7f82e6c093eaf
2008-05-30 16:20:33 +00:00
Sam Tobin-Hochstadt
3d2150a697 Fix : for intdef.
svn: r10013

original commit: 9777a6d0792c73d01e2b83443ad85ac4cf2eb4b7
2008-05-28 22:39:04 +00:00
Stevie Strickland
9324f5ea90 Add ternary for-each.
svn: r10011

original commit: ddf289e1b4762dd405c5350259818afa85f47777
2008-05-28 20:43:01 +00:00
Stevie Strickland
e0fd3985bb Add assf and findf, and also add foldl at binary functions.
svn: r9982

original commit: 1db5280102e17acada2ad3f7d973194e197c621e
2008-05-27 18:33:52 +00:00
Matthew Flatt
5f0913db0d fix some phase issues in 'match' implementation
svn: r9963

original commit: d1628d623897acc07bb14d01507f4539849e907a
2008-05-26 19:51:06 +00:00
Stevie Strickland
d89c251c47 Adding the type for the last function.
svn: r9929

original commit: 02f6018788549aab1cf48bcd7ce615cf934e13bf
2008-05-22 16:41:04 +00:00
Sam Tobin-Hochstadt
6a6ebbae46 Don't statically require mred in tests.
svn: r9928

original commit: a973a8cbd579bcf974456132f087843deee23ecc
2008-05-22 16:36:06 +00:00
Sam Tobin-Hochstadt
103a959de1 fix test
svn: r9924

original commit: 833bebbd3b237f7fa31632affa410912d5dab533
2008-05-21 20:10:39 +00:00
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