Commit Graph

97 Commits

Author SHA1 Message Date
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
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
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
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
2afa0ac8f1 Change map* to map.
original commit: a43b2f5681c576e9b22ff7926ca48ddacfcbcfc2
2008-06-16 13:28:27 -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
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
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
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