Sam Tobin-Hochstadt
ad00361e3a
Add provides
...
Use Type/c instead fo Type? in contracts
New if typechecking.
match expanders for tc-result.
svn: r13996
original commit: 2dbd82e587a87663afacefc5524553c4fc2246ed
2009-03-06 22:25:19 +00:00
Sam Tobin-Hochstadt
b33c622891
fix bugs
...
add env+
svn: r13994
original commit: aa32d9b928c7edaf68356775659dde96096b4123
2009-03-06 21:27:05 +00:00
Sam Tobin-Hochstadt
89f647fde1
combine-filter
...
update
svn: r13992
original commit: d293635cb7f2894111ec06339422a24c7fb7ef39
2009-03-06 20:54:39 +00:00
Sam Tobin-Hochstadt
af10c650fa
fix typo
...
svn: r13989
original commit: e2a017f331b09745540bf47873cd9f1539f878ca
2009-03-06 19:51:33 +00:00
Sam Tobin-Hochstadt
c6ccbfc76d
Remove some old debugging printfs in soon-to-be-dead code.
...
Fix some requires.
Start implementing metafunctions.
Strengthen contracts on filter-sets.
Rename N B Sym.
svn: r13988
original commit: 6c30e2d9e7c9d983f97092ad3aad8268e0560cb5
2009-03-06 19:50:42 +00:00
Sam Tobin-Hochstadt
bc1da3d537
All subtype tests now pass.
...
svn: r13963
original commit: 511d641b450b788760ca9207b586fe0792a4744e
2009-03-05 00:33:48 +00:00
Sam Tobin-Hochstadt
ee917a791e
handle subtyping for varargs functions
...
svn: r13962
original commit: 147cac076ca959adfb754a778979621a37d5ce73
2009-03-05 00:09:43 +00:00
Sam Tobin-Hochstadt
5f9dbd695a
remove contract errors
...
svn: r13959
original commit: f106e885510ee32b88328abc3f34f762b798ba2f
2009-03-04 20:31:46 +00:00
Sam Tobin-Hochstadt
8650f1ade7
most test suites pass
...
svn: r13958
original commit: 8498619ab87c1b3f01a68cb8f5614ac982be7e4e
2009-03-04 20:26:34 +00:00
Sam Tobin-Hochstadt
6cafdd4a5d
all of private, and tc-structs, now compiles
...
svn: r13956
original commit: 00721c10c80eae7fe51bea7593c1cab181820716
2009-03-04 19:49:20 +00:00
Sam Tobin-Hochstadt
361712cb27
base-env now compiles
...
svn: r13954
original commit: e53a851bc21a1759161e0831730cc97c36743e2e
2009-03-04 19:28:48 +00:00
Sam Tobin-Hochstadt
5b48a2df26
more stuff compiles
...
svn: r13952
original commit: 37aa9746ea98b683b8b4d90193f20d6e51e9a5af
2009-03-04 18:53:37 +00:00
Sam Tobin-Hochstadt
0ff58e7208
env now compiles
...
svn: r13950
original commit: 78fe918457e1aea1f7d0acfcf9a47d0893b5b453
2009-03-04 18:39:19 +00:00
Sam Tobin-Hochstadt
85369a60d1
infer now compiles
...
svn: r13949
original commit: 84d13347d7929b6dc71a91701b46d718b4775cb0
2009-03-04 18:33:29 +00:00
Sam Tobin-Hochstadt
8af795574a
undo this move
...
svn: r13947
original commit: 7847d358426bc9b7d22547b33cddf06de89e8336
2009-03-04 16:37:00 +00:00
Sam Tobin-Hochstadt
1716037a42
more movement
...
svn: r13945
original commit: e8fa7fd4dde516bd336c45c817e65e9682ab2a43
2009-03-04 16:32:50 +00:00
Sam Tobin-Hochstadt
e8aa501462
more stuff works
...
svn: r13935
original commit: c819793a828c0688d156dee35045848e1b775345
2009-03-04 00:13:54 +00:00
Sam Tobin-Hochstadt
eb77d9debc
Fix name of Type/c
...
Fix fold on Result.
Add comments.
New -struct constructor with opt args.
Fix tests to agree with contracts.
svn: r13934
original commit: 9d0ee637c74b0d7705d7b9fc60ee0712cac6b0f9
2009-03-03 23:18:00 +00:00
Sam Tobin-Hochstadt
0674606052
all of types/ now compiles
...
everything that doesn't use Un out of convenience.ss
added -out form for requires
svn: r13931
original commit: f05fcfcf13ccb0e8f57edc86191fdaa6fef4da91
2009-03-03 22:45:57 +00:00
Sam Tobin-Hochstadt
c98a07ebb7
convenience now compiles
...
svn: r13930
original commit: 44902149cbc6f0ed024e2e761700a6c83f4ab6df
2009-03-03 22:30:08 +00:00
Sam Tobin-Hochstadt
207b5ebab2
More file movement
...
svn: r13929
original commit: bbfb99bc77cdb16e9178ad45d0d1440f6fc91f92
2009-03-03 22:26:15 +00:00
Sam Tobin-Hochstadt
b52de7d71f
union.ss compiles
...
svn: r13927
original commit: 20628199f58d659b7a62f13b56a4b7e8bb8c2196
2009-03-03 21:55:11 +00:00
Sam Tobin-Hochstadt
5d73d8eae2
fix make-arr
...
svn: r13926
original commit: 0eda7878d5b7e7b9cbaac8db4794cc5cd94ecfdd
2009-03-03 21:53:26 +00:00
Sam Tobin-Hochstadt
c28b5d1eb7
fix some requires
...
svn: r13925
original commit: 6271f648c6c3b4b0b7220497f037a2783a5a2ce0
2009-03-03 21:53:02 +00:00
Sam Tobin-Hochstadt
2901393e97
subst-tests now pass
...
svn: r13923
original commit: 4615d7573e2a3c6313bd35913dc4267db6427723
2009-03-03 20:35:18 +00:00
Sam Tobin-Hochstadt
593d7cf24c
Typed wrapper for md5.ss from YC.
...
svn: r13921
original commit: 089ebfe49203fe8aa55571a773e659eca1a078a4
2009-03-03 20:01:41 +00:00
Sam Tobin-Hochstadt
04a87a60b5
Typed version of SRFI 14, from David Van Horn.
...
svn: r13905
original commit: 2b0e89ee2ae1359f4088aa1d768c90eea5d61da2
2009-03-03 02:09:33 +00:00
Sam Tobin-Hochstadt
c9d49b659c
subtype.ss now compiles
...
svn: r13901
original commit: eaf15594c084b398e8bbc4449fb698257f088689
2009-03-03 01:24:06 +00:00
Jay McCarthy
ae8f85d501
new units, contracts, tests
...
svn: r13852
original commit: 196ec00f16f726745f98d6d5b026213114d9a5e6
2009-02-26 17:09:26 +00:00
Eli Barzilay
de3fec3ebc
fix bitwise ops
...
svn: r13850
original commit: d10cdccca9a704f6a215660f667dd7aaaf2c8757
2009-02-26 14:04:39 +00:00
Sam Tobin-Hochstadt
cf6f678b9c
move subtype.ss
...
svn: r13815
original commit: ea86a63e8033ec8e11cee59e4463acc55586a044
2009-02-24 16:23:16 +00:00
Sam Tobin-Hochstadt
1510961e85
more file moving
...
svn: r13797
original commit: af3449cf56500be4eced680e73f77af51e10b8ab
2009-02-23 03:02:00 +00:00
Sam Tobin-Hochstadt
e6615a0b47
new directory
...
svn: r13796
original commit: a197c1b9613174d731ce8b1f5d564969cdc2aa98
2009-02-23 02:53:39 +00:00
Sam Tobin-Hochstadt
28fece8d89
finished resolve-type
...
svn: r13786
original commit: 7020ff07a5e71f9b57bafbf7f912200b4526d948
2009-02-22 00:03:41 +00:00
Sam Tobin-Hochstadt
4b70cd02b8
Remove macro-debugger require.
...
Use `this-syntax'
More contract renamers
Finish type-abbrev.ss
svn: r13785
original commit: 0343ae06f39e5b7d93a44072e505e354a7666bc1
2009-02-21 23:55:32 +00:00
Sam Tobin-Hochstadt
a32de857eb
type-utils.ss now compiles
...
svn: r13782
original commit: a1fb6962330cc6fbd078a07047394f95742b8102
2009-02-21 20:19:44 +00:00
Sam Tobin-Hochstadt
d87a63bcf1
finished implementing printing
...
svn: r13779
original commit: b57c78e0a4d97d556e2e94a296c823d7e1ffec36
2009-02-21 18:31:23 +00:00
Sam Tobin-Hochstadt
dc943e2561
rename printer file
...
svn: r13778
original commit: b14da998bf98008d72e7dba7100f4e0fdd2e31c3
2009-02-21 18:08:11 +00:00
Sam Tobin-Hochstadt
57512b406f
checkpoint
...
svn: r13777
original commit: 85de5f27bfdf2b5d22b0a0f0b3062bbda8ce7618
2009-02-21 18:07:07 +00:00
Sam Tobin-Hochstadt
f14f5a0ebf
merge ryan's changes
...
svn: r13773
original commit: 99f678e1baee83c045c0c215fb3d522773f19980
2009-02-21 17:07:29 +00:00
Sam Tobin-Hochstadt
9f656c3fde
printer now compiles
...
svn: r13772
original commit: 50f513be41da79ce0b12c459387fb3dd81660295
2009-02-21 17:07:19 +00:00
Sam Tobin-Hochstadt
f2d724cf82
Type rep compiles
...
svn: r13768
original commit: 70e174c0e1fbe917d117e36dd9b7b894497fd115
2009-02-21 15:23:42 +00:00
Sam Tobin-Hochstadt
6a8ae14330
Finished new representation defs and folding.
...
New definition of `define-requirer' that doesn't use lib requires.
New `defprinter' syntax.
svn: r13755
original commit: 0edfd7f31f8e85b7d0176c28baebeae22e34de00
2009-02-20 23:35:02 +00:00
Sam Tobin-Hochstadt
2cb1ecef74
checkpoint
...
svn: r13749
original commit: 428e7c471b915a6fbc2b52631a3f848c7faf3553
2009-02-19 21:28:41 +00:00
Sam Tobin-Hochstadt
532ec72bd9
new function representation
...
svn: r13744
original commit: 72ff13bea9b32631551ace3a24c97064c3d5b802
2009-02-19 17:39:19 +00:00
Sam Tobin-Hochstadt
5f8f1bf4b0
checkpoint again
...
svn: r13735
original commit: e5e0adb499e0037c125f9662c19952bb872276ae
2009-02-19 01:39:11 +00:00
Sam Tobin-Hochstadt
f2ceefc6a6
fix some strange stxclass strangeness
...
svn: r13722
original commit: 26fe69d9a775c4f3af7b094c1eddbee97df2650b
2009-02-18 04:31:28 +00:00
Ryan Culpepper
91f75661c4
stxclass: added and- and or-patterns, box and vector patterns
...
svn: r13721
original commit: 59727cc4bcdb2f4955f3f5206207a8d482736d0a
2009-02-18 04:01:52 +00:00
Sam Tobin-Hochstadt
7b85ea3692
checkpoint again
...
svn: r13718
original commit: c0861fd39b88e3858c5ef6785938a3dbf8b3377c
2009-02-18 02:58:47 +00:00
Sam Tobin-Hochstadt
4071b960e8
move
...
svn: r13716
original commit: 7d5581b06f3db4e40fc5ed1db1e02d3cd1f7d075
2009-02-18 01:58:11 +00:00
Sam Tobin-Hochstadt
91244ed599
checkpoint
...
svn: r13715
original commit: a8a9af73d86e90fc725c59fb244dc32a11311385
2009-02-18 00:28:01 +00:00
Sam Tobin-Hochstadt
2183983a1b
Move contract-enabling code to utils/utils
...
Move `cnt' signature form to utils/utils, controlled by same boolean.
Use `w/c' and `p/c' to enable/disable contracts in dt/de.
Contract for `ret'.
svn: r13699
original commit: 00ff608247134f49ffecae576c90df40dacf7143
2009-02-17 17:30:30 +00:00
Sam Tobin-Hochstadt
801180afdc
Fix contract on App.
...
Fix function construction for rec-lambda/check
Re-enable printing.
svn: r13687
original commit: cc1265fc614c972006eea18ba56e579c03e4abd2
2009-02-17 01:09:23 +00:00
Sam Tobin-Hochstadt
ab20aa8d85
contracts on types and effects
...
svn: r13685
original commit: 14475467b2c7b84d240b48fb3cc62f4d31a484bf
2009-02-17 00:43:47 +00:00
Sam Tobin-Hochstadt
1c96929eea
sync to trunk
...
svn: r13683
original commit: 347035fae9cf132840acb41fbb2231a54f39687c
2009-02-16 23:23:35 +00:00
Sam Tobin-Hochstadt
3860454c7b
Use stxclass for require/opaque-type
...
svn: r13682
original commit: c7809e5838816fee70e74622390d05c07b809062
2009-02-16 23:06:23 +00:00
Sam Tobin-Hochstadt
d009eb6db2
Use stxclass for `require/typed'.
...
svn: r13658
original commit: 54d17355c3fbcfdf15aec20c3d17e9a1e802ac06
2009-02-16 14:16:36 +00:00
Sam Tobin-Hochstadt
55f8d3f67e
docs for provide:
...
svn: r13645
original commit: eba3b5d54d297673a7ba9ef2c1f8a036e99a88f0
2009-02-16 02:29:33 +00:00
Sam Tobin-Hochstadt
c7e0ef61e9
Add provide:
...
svn: r13643
original commit: 3205875736f90161f6773d9e7182f25a9f949cc2
2009-02-16 02:23:50 +00:00
Sam Tobin-Hochstadt
d6efd0acc3
Fix error message when polymorphic inference fails because of expected type.
...
Add test case.
svn: r13639
original commit: 02efc28dff062b60e0ee5e1c425b438d44ce9c28
2009-02-16 02:12:13 +00:00
Sam Tobin-Hochstadt
5312746af4
revert back to regular parse type
...
svn: r13619
original commit: 204806a13acc831a2c6954c4b9ef00e3239c2e86
2009-02-15 21:57:30 +00:00
Sam Tobin-Hochstadt
727c5bb0b0
subtype caching
...
svn: r13615
original commit: ed83737d5f6943687c2148457e582dc707363f34
2009-02-15 21:30:02 +00:00
Sam Tobin-Hochstadt
474f810031
Use stxclass for defintern.
...
Use stxclass for dt and de, and refactor/simplify.
Don't use the real union for unfolding mu types.
Add some descriptions to syntax classes for type parsing.
svn: r13597
original commit: 345abb820bf34bf7a9e1763a964b23143c07219f
2009-02-15 04:01:30 +00:00
Sam Tobin-Hochstadt
b0da5d65da
re-enable printing
...
svn: r13581
original commit: 7830091d42fc7204957a9947d52ad7999d4abd6b
2009-02-14 20:48:26 +00:00
Sam Tobin-Hochstadt
fe0a947bb0
type keys now work, mostly
...
svn: r13580
original commit: e198478055f13631ec9ab6154edcf71c6c3f7ef3
2009-02-14 20:27:37 +00:00
Sam Tobin-Hochstadt
7bd2447d44
new branch initial commit
...
svn: r13578
original commit: e13c4b690d8c257de1e08252b1bb0199cb6a1f63
2009-02-14 16:03:25 +00:00
Ryan Culpepper
26d517cfa8
stxclass:
...
fixed scoping of attributes (wrt declare)
added 'attribute' form
added internal/external literals form
svn: r13574
original commit: 44efc7cb48ab4f231a024b037c80de6528b99b7c
2009-02-14 12:17:14 +00:00
Sam Tobin-Hochstadt
2076decb19
Default types for lambda formals.
...
svn: r13539
original commit: e61075a4fd7a40c2641f06553aecdfedff48ed23
2009-02-12 23:55:53 +00:00
Sam Tobin-Hochstadt
aafbd385f1
add Text% type, new function
...
svn: r13536
original commit: 80c8ac3b5f79924faa86bb671fe8e975b2e03f0f
2009-02-12 19:55:02 +00:00
Sam Tobin-Hochstadt
3ac20b4930
test fix
...
svn: r13456
original commit: 2b5413539433b9a0b2a8d615b74b16cdb49c6d95
2009-02-05 15:05:59 +00:00
Sam Tobin-Hochstadt
e2b8fc48b8
typed/mred
...
- use (Listof Any) instead of List
svn: r13439
original commit: 8416536f441d0bd1f010a75a264e02e096921840
2009-02-04 23:33:24 +00:00
Sam Tobin-Hochstadt
c1a6ffd46e
fix expr attribute
...
svn: r13438
original commit: 9f77daab416df94eab23067bf333d0ee17eaef69
2009-02-04 23:07:09 +00:00
Sam Tobin-Hochstadt
2f4a6079e0
use exact-integer? instead of integer?
...
use (Listof Any) instead of List
svn: r13437
original commit: 52d711e0bdaddd9f516a63cbc19b7e478fde9c77
2009-02-04 23:06:35 +00:00
Sam Tobin-Hochstadt
bb5298992b
take out work on paths, now compiles
...
svn: r13431
original commit: f867eea8c313ff53bdfa4edd9f4e5af0d89ef657
2009-02-04 20:57:28 +00:00
Sam Tobin-Hochstadt
cfab8a698f
commit work to new branch, doesn't work yet
...
svn: r13427
original commit: 3ab3c8d3685d30c827c600d93a0930eff7e1902d
2009-02-04 20:19:41 +00:00
Sam Tobin-Hochstadt
5570ebc151
Fix handling of inexact integer literals.
...
svn: r13294
original commit: 2962c0bfa7f13a16406248abf891c574fe08b006
2009-01-27 17:55:10 +00:00
Eli Barzilay
86e0c521fc
fix the type of > and indent
...
svn: r13275
original commit: 4288ba636ec132eb91ede11dd9ab1f24263d01e8
2009-01-24 21:13:15 +00:00
Ryan Culpepper
00daf4391f
stxclass: created stxclass collection, with docs
...
svn: r13255
original commit: eb9fe4847f7eacc7ae69560872e337642a366ea8
2009-01-22 05:50:55 +00:00
Eli Barzilay
9f15554e02
newlines at EOFs
...
svn: r13105
original commit: d1a0086471bf5e9553a9b056b26286c427831d38
2009-01-14 03:10:47 +00:00
Sam Tobin-Hochstadt
76b262cb20
checkpoint
...
svn: r12954
original commit: ed48078523c1282d0df9f2133cfca50102f8849b
2008-12-30 19:47:21 +00:00
Matthew Flatt
547102b2b4
fine-tune typechecking index entry
...
svn: r12920
original commit: ec600c59bb9caa15f10fb68844677e56a4ce86dc
2008-12-21 13:57:46 +00:00
John Clements
d6c37aaf3d
...
...
svn: r12919
original commit: 424ec50bfb3b755103b0516c4a0e69d40ed67811
2008-12-21 10:00:47 +00:00
Sam Tobin-Hochstadt
1ec87308cf
Lots of unit contracts, plus some bug fixing.
...
svn: r12820
original commit: 57f1dd0c4d41b044f99718b4e9a8158a0ce9ae80
2008-12-12 20:33:21 +00:00
Sam Tobin-Hochstadt
59481295ef
Update typed collection to use struct inheritance.
...
svn: r12747
original commit: da7b6978eefdc1d476361cb56cbf577dbf32c825
2008-12-08 20:48:25 +00:00
Sam Tobin-Hochstadt
53a5f53d15
Make inference work in subtype tests.
...
Add test for top-arr.
svn: r12746
original commit: 08fa300d14085b678a0d0fd357613649e2e459b9
2008-12-08 18:26:58 +00:00
Sam Tobin-Hochstadt
d24a116dcb
Handle top-arr in infer. Add convenience binding for function top.
...
svn: r12745
original commit: ea0873adb29728625be95474b79ff75dda6521fd
2008-12-08 18:24:33 +00:00
Sam Tobin-Hochstadt
48f5927093
Initialize `infer' for env-lang.
...
svn: r12740
original commit: 8c4789a627e812698a92e5f01b5e63e2b02ae966
2008-12-08 16:54:13 +00:00
Sam Tobin-Hochstadt
d0a893f9a1
Don't fail early here.
...
svn: r12729
original commit: 587ca084669594f2d58b8a9152127e78ec364acb
2008-12-08 03:37:24 +00:00
Sam Tobin-Hochstadt
fe7eb33c59
Fix time-apply, add test
...
svn: r12727
original commit: dd8e878cb442a7b9e6b7204552a3856073b6131d
2008-12-08 03:12:38 +00:00
Sam Tobin-Hochstadt
f168aa06c3
Add `current-continuation-marks'
...
Add some exns
Test require substructs
svn: r12726
original commit: 238b248ad5304189396008634e8a62780fb8fb7f
2008-12-08 03:10:12 +00:00
Sam Tobin-Hochstadt
df8d714918
Enable require-typed-struct with substructures.
...
Fixes PR 9053.
Move test to succeed.
Add some new bindings.
svn: r12709
original commit: e6eb482de48b8d82a09a9a18db71a2879a5e620a
2008-12-05 00:25:02 +00:00
Sam Tobin-Hochstadt
54035a23e6
bindings for the rest of scheme/bool
...
svn: r12548
original commit: e27ae4d4577ee78df53fb6afee0152007112e244
2008-11-20 22:30:29 +00:00
Eli Barzilay
8cfc33caf9
set svn:eol-style
...
svn: r12520
original commit: 447cea73d08c145385fc75a236cb705c5d2a705f
2008-11-20 00:16:25 +00:00
Sam Tobin-Hochstadt
8c097679ea
Typed wrappers for file/gif and almost all of net/*.
...
svn: r12518
original commit: 7124d1e1a1a4e04f4fb23fb2a2d02a82fd6b5426
2008-11-19 22:51:24 +00:00
Sam Tobin-Hochstadt
ec1e13a286
Refactor require/typed/provide and dt into new private dir.
...
svn: r12517
original commit: 66b9b932ef7d5b5eec53731ec7f196ba4d6b263f
2008-11-19 22:50:54 +00:00
Sam Tobin-Hochstadt
bf579f30e7
Add scheme/tcp bindings.
...
svn: r12516
original commit: a4ac14b124cb70127897fcb117d4d9312ab17518
2008-11-19 22:50:10 +00:00
Sam Tobin-Hochstadt
3f501c1a2f
Handle (Instance Foo) where Foo is unbound.
...
Return correct error behavior.
svn: r12410
original commit: 541a47f7fd943f77f82983bd52a837db47b736a8
2008-11-12 15:59:24 +00:00
Sam Tobin-Hochstadt
c9e6071981
Add collection for typed version of collections.
...
Start with mred and framework.
svn: r12409
original commit: 48c90f1c10857f0a486bacd3d01b71cb1f19ba90
2008-11-12 15:57:45 +00:00
Sam Tobin-Hochstadt
2a450f220f
Store contract in Base type representation.
...
Fix tests, pattern matches.
Contract is *ignored* in equality testing.
svn: r12227
original commit: 477fa5581e1c9923df030e0eea86a62c367f014f
2008-11-03 23:58:29 +00:00
Sam Tobin-Hochstadt
ea2ca9402c
Reorganize initial type definitions to use DSL.
...
Split special type names into base-types-extra.ss
Fix test require.
Base types are now require in main.ss
svn: r12203
original commit: e69f6e126ad851175ea2ca8ce5f8381d238d1a40
2008-10-31 17:12:16 +00:00
Sam Tobin-Hochstadt
6235dc2c8b
Split typed scheme docs into guide and reference.
...
svn: r12202
original commit: 9851b3ab783dd81cbf7989f813563874e79a8b02
2008-10-31 16:52:35 +00:00
Sam Tobin-Hochstadt
76916addfd
Fix types of syntax tests.
...
Test for double instantiation.
svn: r12164
original commit: acfba8a390e9f5638daad8ff8220da4ffc04f004
2008-10-29 02:15:50 +00:00
Sam Tobin-Hochstadt
3e692e993e
Less polymorphic type for `syntax->datum'.
...
svn: r12163
original commit: c4d183fcfc7f405e50a7593485011cbc717be3ef
2008-10-28 22:40:43 +00:00
Sam Tobin-Hochstadt
e9bc755fb5
More specific type for quote-syntax (this hides an infinite loop)
...
svn: r12162
original commit: b7df781999305482ca8e4afaa7718a4af20adf9d
2008-10-28 22:40:19 +00:00
Sam Tobin-Hochstadt
3919075cb3
Handle multiple instantiation of a single expression.
...
svn: r12148
original commit: 0c44c5ce409512b2f2fb41b70d6ae9ef9a64259d
2008-10-27 20:06:31 +00:00
Sam Tobin-Hochstadt
3082052ffb
Remove stray printf.
...
svn: r12147
original commit: d60ae208e12a72c0788cb907b6870e3d748351e0
2008-10-27 20:04:41 +00:00
Sam Tobin-Hochstadt
f24c93b475
Add `warn-unreachable'
...
svn: r12145
original commit: 5db61f199fff5b2a8c0d8595de984184336a5bac
2008-10-27 20:02:34 +00:00
Sam Tobin-Hochstadt
c988220e11
Add type for Procedure.
...
Fix types to use Integer instead of Number where appropriate.
add type for maybe-print-message.
svn: r12141
original commit: a7b5d4af4b478e4c29e2cc52cd760fe0f6b7a596
2008-10-27 15:16:22 +00:00
Eli Barzilay
e94b7c2f70
TS tests now work, and are not noisy when succeeding
...
svn: r12119
original commit: 0ccbac0647a6a0dd129d9b7531514cfdca24d58d
2008-10-24 19:50:24 +00:00
Sam Tobin-Hochstadt
fd7442f6ed
New test from John, fix tests to work with new code.
...
svn: r12108
original commit: d93505082f85d471ea62f73ae0c402443d0e15c4
2008-10-23 23:34:00 +00:00
Sam Tobin-Hochstadt
757a6ac532
Document `List'.
...
svn: r12107
original commit: 101ca7ada7e4003e6964200c7c1559349c8beb5a
2008-10-23 22:56:30 +00:00
Sam Tobin-Hochstadt
ec58da0ff0
Improve printing of effects for functions with simple effects.
...
Reject contract creation of overloaded types.
svn: r12105
original commit: ae1fd58e2b085dbd605f41b17a8ad360aa2bb830
2008-10-23 21:43:23 +00:00
Sam Tobin-Hochstadt
9971f1730d
Static info for require-typed-struct
...
svn: r12096
original commit: d02748f0fa2794e3eab37db264b6166c587625f9
2008-10-22 21:07:47 +00:00
Sam Tobin-Hochstadt
5308710cd1
Fix tests with even?
...
Add test for struct syntax info.
svn: r12095
original commit: 24c4d0b3fc067072677cd6037657247a315aaccb
2008-10-22 21:07:31 +00:00
Sam Tobin-Hochstadt
6eb9152bd1
Fix type of odd and even.
...
svn: r12086
original commit: 0ec881dc60a15b185c0c07ed2c36eaf992a368e9
2008-10-21 20:55:07 +00:00
Eli Barzilay
e07bf6e209
look -- a let!
...
svn: r12085
original commit: b349b4baa2da4b0d92ea33e3b3dcb21a18eeadee
2008-10-21 19:52:40 +00:00
Sam Tobin-Hochstadt
6db06c53cd
New error handling for type parsing errors.
...
New error type that is both top/bot.
Fix provide handling if identifier is provided twice.
Note that require/typed is really a definition.
Fix require of #%kernel.
svn: r12083
original commit: 3a9928474523b042f83a7a707346daa01ef63899
2008-10-21 18:01:03 +00:00
Sam Tobin-Hochstadt
a8185f5048
Add new test for better error reporting.
...
svn: r12082
original commit: c6c4a049ee8b658459b5bf6b1564aced1afdd7b8
2008-10-21 17:58:57 +00:00
Sam Tobin-Hochstadt
4bed8042a1
revert this change to fix drscheme.
...
svn: r12075
original commit: b173fb073efdcf3f5a9acc9188de84de32ee3cf4
2008-10-20 20:04:15 +00:00
Sam Tobin-Hochstadt
dc77ba4148
revert previous change
...
svn: r12074
original commit: 714e356fb48a1bb78c850a1d2e676645c3ab0e8e
2008-10-20 19:01:52 +00:00
Sam Tobin-Hochstadt
e347aea92c
require/typed is really a definition for the purpose of provide.
...
svn: r12073
original commit: aad41cc46e026059e17dc0737fd140f03835b8f9
2008-10-20 16:55:55 +00:00
Sam Tobin-Hochstadt
693829c961
Document singleton symbol types.
...
svn: r12072
original commit: 2b4a60ced6c62b02d13d4c0fbb7ffc3ad702a9c0
2008-10-20 14:04:10 +00:00
Eli Barzilay
a418e160c0
a little improvement (see PR9847) but still not working
...
svn: r12068
original commit: 72198bf8561aa280ed12850e99e16ba92c6677f8
2008-10-20 02:52:23 +00:00
Eli Barzilay
4c5a780062
allow the arrow to appear anywhere (since no inputs is a possible case)
...
svn: r12039
original commit: 05db2f04af30f21c35e7de2d064ac3a3511a482c
2008-10-14 19:07:27 +00:00
Eli Barzilay
cec84d33dd
Allow an implicit paren for (: <id> : T ... -> T)
...
svn: r12038
original commit: 9cc7f90a0aa877aab3310a83b1f3133105d2aefa
2008-10-14 18:44:05 +00:00
Sam Tobin-Hochstadt
557bd01043
add args to error
...
svn: r12036
original commit: e802682c4df62cdb320b931c09d89db8bbb3d15a
2008-10-14 16:34:14 +00:00
Sam Tobin-Hochstadt
69474a750e
Better error message for extra ->.
...
svn: r12034
original commit: 453deb8a5d47b8cfd5ea849bba46fa51d9de8a5e
2008-10-14 15:58:34 +00:00
Eli Barzilay
d2c755f005
make-Listof -> -lst
...
svn: r12021
original commit: beec99c12eb0ade6b780c6618a4e154a811398ea
2008-10-13 17:17:30 +00:00
Sam Tobin-Hochstadt
15bc9ba914
Fix type of error.
...
svn: r12019
original commit: 6a0b9b4e20d660410238fa68273f2f532c06b122
2008-10-13 16:22:52 +00:00
Eli Barzilay
e87cb50bd2
list-tail
...
svn: r12017
original commit: c08e09ae6ca4cdcffb3bd79d6f5b01c3f752fbe6
2008-10-13 16:16:18 +00:00
Eli Barzilay
01be0f1dd8
rem{ove,q,v} and rem[qv]*
...
svn: r12016
original commit: 72f8e1d3e6396b6447d0c254a999868760e4a21b
2008-10-13 15:58:29 +00:00
Eli Barzilay
9d30470a38
gcd & lcm, move sqrt with its friends
...
svn: r12015
original commit: fd89ef7d419ae721d90008930dbb8e8b0250f34f
2008-10-13 15:56:06 +00:00
Eli Barzilay
579c36806d
sleep and time-apply
...
svn: r12014
original commit: b58b3d72fccf0c9302b827b65a3dfa3bac04a179
2008-10-13 15:51:02 +00:00
Eli Barzilay
52399cdc09
trigonometric functions
...
svn: r12013
original commit: b9866e0af2158c5ad2cd1341a33bad319828374d
2008-10-13 15:48:46 +00:00
Eli Barzilay
98d2ec4846
bitwise functions
...
svn: r12012
original commit: dbadf365a3533ab2554ebe966e4e713e23b95c66
2008-10-13 15:47:52 +00:00
Eli Barzilay
7c6b674141
Some more arithmetic functions
...
svn: r12011
original commit: 757c51957eb0c4089e13dcee78b88488c4e1a4eb
2008-10-13 15:47:24 +00:00
Eli Barzilay
ee7c4dc30b
bad non-typo fix, go back, and change to Univ
...
svn: r12010
original commit: d5028463f23e07e04c84950d32c11db4218e9301
2008-10-13 15:42:53 +00:00
Eli Barzilay
279939d40b
some more sensible grouping of similar functions
...
svn: r12009
original commit: 86d70f52d8a09e9654be57be0e52cc74be8fa486
2008-10-13 15:42:19 +00:00
Eli Barzilay
cd157e5175
capitalization typo
...
svn: r12008
original commit: 1beabaf5e8b7d43894e7fdc9eb5bf7395f1b1c75
2008-10-13 15:37:16 +00:00
Eli Barzilay
46c7fe5eb9
* Grouped the ass* functions
...
* Made them all use -opt
svn: r12007
original commit: e114ca005e53aa8f35b118f990922b9ce46fd350
2008-10-13 15:36:59 +00:00
Eli Barzilay
21700fdf68
use all of scheme/list, so the types for first and friends actually works
...
svn: r12006
original commit: f4ae28d7149fd5c3f90fe2af60fb2589cc3e8688
2008-10-13 15:33:06 +00:00
Eli Barzilay
d6372cf515
(random) returns a floating point number
...
svn: r12005
original commit: fea96706f189c950ee43825618d0a99774f5494f
2008-10-13 15:32:17 +00:00
Eli Barzilay
d3affbf868
* Move write' next to
display'
...
* Make it have the same type (can write anything)
* Add `print' with the same type
svn: r12004
original commit: 0209663ec75b138c505d101e6f8dfb636c51ec6a
2008-10-13 15:30:55 +00:00
Eli Barzilay
57cfc5d3d5
minor reformatting (brackets, spaces, indents)
...
svn: r12003
original commit: 9ba08bc5583e2f7248fdd1668b84cdff7fa78707
2008-10-13 15:29:13 +00:00
Eli Barzilay
3bf7774adb
removed unused leftover file
...
svn: r11992
original commit: 078ce5f8c6dc17d41c45b9686c5333a0383b0915
2008-10-11 19:17:17 +00:00
Eli Barzilay
07ec9bfd86
fix whitespace before open-brace issues
...
svn: r11991
original commit: cff6f07259c2fc2656c6e27aa07c19d5cf5331fe
2008-10-11 19:09:50 +00:00
Sam Tobin-Hochstadt
2f7553ada9
Fix inference for simple fns with ...
...
svn: r11977
original commit: 3db02a50e168ae8f22c056919cc1413bfb1b7c73
2008-10-08 15:34:05 +00:00
Sam Tobin-Hochstadt
5239b94d65
New test for bug found by eli.
...
svn: r11969
original commit: 665da912c8d1ed05a973a1cb3d2679678a94187b
2008-10-07 21:55:45 +00:00
Sam Tobin-Hochstadt
687faf6d08
Fix bug in inference when tvars in env.
...
svn: r11968
original commit: dbf4462228a4094e2fa71617cd88ae61e80e12d2
2008-10-07 21:55:25 +00:00
Sam Tobin-Hochstadt
09ac3ccc7f
Fix automated TS tests.
...
svn: r11953
original commit: c953007f633340d0f32ab6024bb297d64adc0cab
2008-10-06 19:41:30 +00:00
Eli Barzilay
b63bdbb842
oops, revert this line
...
svn: r11938
original commit: a1bbd7dd3c17b48ddd0cad18baf2a173c33b5066
2008-10-05 03:41:17 +00:00
Eli Barzilay
d14979c7d7
planet-requires moved to tests/typed-scheme/util-tests
...
svn: r11937
original commit: 2899c1f1cce30f7aacb5032e92c87cf06378722c
2008-10-05 03:40:55 +00:00
Eli Barzilay
a2f34edb53
rename holder -> keep
...
svn: r11932
original commit: 8d06e0c707295a6dee60e722dfafe40c4e2d7992
2008-10-04 19:10:38 +00:00
Sam Tobin-Hochstadt
74d7ac4276
Fix handling of explicit maker in tc-struct.
...
svn: r11881
original commit: 98c02cb887c493ed5aa9c371b382200f0600049d
2008-09-26 12:23:33 +00:00
Sam Tobin-Hochstadt
e7bc490d7f
Fix error in use of tc-error/delayed.
...
Fix expansion of with-handlers:
add test
svn: r11875
original commit: cd6a37ff4c83505ceef5fbc747235160d03d2aee
2008-09-25 19:35:00 +00:00
Sam Tobin-Hochstadt
bd6862fae4
fix type of assq
...
svn: r11872
original commit: 77e9b026b3a50d6430b4120e40dce511a5e26e7e
2008-09-25 15:56:55 +00:00
Sam Tobin-Hochstadt
a7a6f1451e
Add test for assq
...
svn: r11871
original commit: 23db0aa366a5e85eefc3d8ff188d23ddf40aef82
2008-09-25 14:55:36 +00:00
Eli Barzilay
4a09a3f669
set svn:eol-style
...
svn: r11858
original commit: 943b22ebeb4332039d7fc587b15fe83e27d5c18d
2008-09-24 20:08:05 +00:00
Sam Tobin-Hochstadt
28ca599959
Reorg to separate out files.
...
svn: r11857
original commit: 15e7be91f5bd27294be48d4d22bb15ef0e5b7d16
2008-09-24 19:56:48 +00:00
Sam Tobin-Hochstadt
37649236b9
Make contract error regexps more flexible.
...
svn: r11855
original commit: 89171c03294a0418fd3009bdd181792568626f04
2008-09-24 19:55:29 +00:00
Sam Tobin-Hochstadt
f98a4bc210
Add kw test
...
svn: r11850
original commit: 9c08df4789047efd717f92048442abc8a2c26fc0
2008-09-24 14:03:25 +00:00
Sam Tobin-Hochstadt
3cc4ad59bd
Remove output redirection.
...
svn: r11849
original commit: 81b9f638521724dbd1941947233faab1b71d0778
2008-09-24 14:02:20 +00:00
Sam Tobin-Hochstadt
21ca4c1d01
Fix delay/force.
...
svn: r11841
original commit: 917307bd2e8f8dccad9bfcc27261f30e19cc87cb
2008-09-22 21:37:13 +00:00
Sam Tobin-Hochstadt
86b8ec148b
add char?
...
svn: r11838
original commit: 091089f27d032478d745283e897036d8974ec2d5
2008-09-22 18:37:48 +00:00
Sam Tobin-Hochstadt
d417ac6a55
Catch error before internal error, more informative internal error.
...
svn: r11837
original commit: 88d44f9c5b37b17e43cac04d918eff5a34870334
2008-09-22 18:35:24 +00:00
Sam Tobin-Hochstadt
dd61d2e865
Fix internal errors in error reporting.
...
svn: r11836
original commit: e7a7036a48fd3afa19f5dd5420aae13ed09dbda2
2008-09-22 18:09:49 +00:00
Sam Tobin-Hochstadt
5c5934c98b
Documentation for define-struct:
...
svn: r11781
original commit: 6d228898ee571979a45e1ac6d35e936ad9a76d4d
2008-09-16 22:26:34 +00:00
Sam Tobin-Hochstadt
43c13e8052
Document `Parameter'
...
svn: r11780
original commit: 405ed4de3f82dd5cc135dde5f8326e969916fe61
2008-09-16 22:21:44 +00:00
Eli Barzilay
dbb5151b31
svn: r11773
...
original commit: 7d00e626c94bd8f67bf6a5891177bbd9b2e30f64
2008-09-16 04:14:03 +00:00
Eli Barzilay
5b6cf7448d
properly use module-reader
...
svn: r11770
original commit: 52f0e100a7b7825a76e82cfb9a9ffc7b99c78118
2008-09-15 23:09:25 +00:00
Sam Tobin-Hochstadt
593b26228e
revert contracts
...
svn: r11739
original commit: 35244d474e300136949539b6690d8d0124426d31
2008-09-13 23:51:16 +00:00
Sam Tobin-Hochstadt
c7f2971ecb
contracts for infer, and keyword argument for expected
...
svn: r11735
original commit: 9d53eab27d39b0a978ae6dfb183cabf0e2eda087
2008-09-13 23:00:24 +00:00
Sam Tobin-Hochstadt
c08c477ba6
provide tc-result? for contracts
...
svn: r11734
original commit: 302e28da620581ce928a346e43f9d3109c694f0c
2008-09-13 22:48:19 +00:00
Sam Tobin-Hochstadt
a17e62cca0
Fix call to *Keyword - thanks Matthew.
...
svn: r11733
original commit: 49c816cfaa30ba7caa343d4d3fbf2cc9a1472acf
2008-09-13 22:47:52 +00:00
Sam Tobin-Hochstadt
dd509b80f3
Doc changes.
...
svn: r11732
original commit: 37796884d8599d6411bff0ebbf6fc88e6f6bf285
2008-09-13 22:45:22 +00:00
Stevie Strickland
0e79b7a3a9
svn merge -r11644:11643 .
...
Yeah, these trunk merges will eventually come back.
svn: r11655
original commit: ae2d69720cc64c7398ba5991ff33f00ceb8e593f
2008-09-11 22:21:45 +00:00
Stevie Strickland
9171430d56
svn merge -r11640:11643 http://svn.plt-scheme.org/plt/trunk
...
svn: r11644
original commit: 2d6f7878650a224fe9b18d97c3bdb598761333ce
2008-09-11 14:45:33 +00:00
Sam Tobin-Hochstadt
2b288b2582
Add eof and read-accept-reader.
...
Fix find-mutated-vars
original commit: 7cf9b36c1501aa994d29e1bbd61b1785b5e92655
2008-09-11 09:01:49 -04:00
Sam Tobin-Hochstadt
9b7d945049
Add no-check language
...
original commit: c7b51cfd2d1dece6ac2254f44e278f3c18ee13a7
2008-09-10 14:49:15 -04:00
Sam Tobin-Hochstadt
f54d163224
reorg
...
original commit: 5ac64589baffabf3e7045e5c0c877a1c484207ea
2008-09-09 17:40:26 -04:00
Sam Tobin-Hochstadt
53e3814a54
Improve errors.
...
original commit: 8df7a464931969dd782f3efe6db7e322643be2f4
2008-09-08 13:27:38 -04:00
Sam Tobin-Hochstadt
8701782f17
more stuff works
...
original commit: a1825082df673c1fd4bf8e288230c63bb142d9f3
2008-09-05 16:52:00 -04:00
Sam Tobin-Hochstadt
9a357ebf84
Fixed printing for new rep.
...
Handle mandatory and optional keyword args.
original commit: 801156229a9a8498f9860aed405b3a61ed252d03
2008-09-04 17:59:36 -04:00
Sam Tobin-Hochstadt
f4eec91021
New representation that accomodates mandatory and optional keyword args.
...
original commit: 79e3a0c4c68070d6a558a006d70c326f4ee2d28a
2008-09-04 17:02:33 -04:00
Sam Tobin-Hochstadt
aa2a031828
progress
...
original commit: 85a0fa22d10e17df8a9d0dc1dcff56c2cc9a43a2
2008-09-02 20:25:23 -04:00
Eli Barzilay
52191973be
set svn:eol-style and newlines at eofs
...
svn: r11525
original commit: 0453be932be302747295d16cefac6be379c8125e
2008-09-02 15:38:20 +00:00
Eli Barzilay
2152be6b8c
use the new facility for the typed-scheme reader
...
svn: r11504
original commit: 989aedc09a6c562fc5a8fdf414ccc5db948125fb
2008-09-01 04:26:54 +00:00
Sam Tobin-Hochstadt
7b3ad3a27f
start on keywords
...
original commit: a8417c7c1c5eaa5996caab91fc150b901669a9e8
2008-08-29 18:23:59 -04:00
Sam Tobin-Hochstadt
a23827e048
Fix docs to work around schememod bug
...
svn: r11342
original commit: a16f879e2451d64f0aab125852cada27f8ba3e12
2008-08-19 19:57:59 +00:00
Sam Tobin-Hochstadt
b0817bce2a
Better error messages for require/opaque-type
...
svn: r11341
original commit: d546d6e045b10fa5e433800378ee6f75d96ede9c
2008-08-19 19:48:24 +00:00
Sam Tobin-Hochstadt
84dd8c4d51
Print struct names without [].
...
svn: r11340
original commit: 79b4f2d078f09f89ecc5a12d0fc179bb4ffb77c5
2008-08-19 19:40:38 +00:00
Matthew Flatt
5cf33a8aff
assign authors to manuals
...
svn: r11287
original commit: 9453aaaccf2f0007bae450c291e1cd29a7a14696
2008-08-15 20:16:06 +00:00
Sam Tobin-Hochstadt
ec6c2bde88
Fix handling of `, delay, and this-language using Matthew's advice
...
svn: r11127
original commit: 513174a2bd9274cd73a24fb12153e3386432945c
2008-08-07 19:05:32 +00:00
Sam Tobin-Hochstadt
eda70bdaf9
Provide some names
...
svn: r11114
original commit: 24a98cf0618fc3b0593c4a355f6355064a30d404
2008-08-06 20:48:02 +00:00
Sam Tobin-Hochstadt
fee0250ffb
Fix typo
...
svn: r11113
original commit: 44e0c09d75e10fc4d3cd9e21ad60fd24e41d23c5
2008-08-06 20:47:28 +00:00
Sam Tobin-Hochstadt
6f4fa61276
Add types for char comparison functions.
...
svn: r11085
original commit: 5f787a63d499fe32dfbc1d11d2ba8e48a4a9323f
2008-08-05 18:17:27 +00:00
Sam Tobin-Hochstadt
50bf0a65a4
fix some dumb bugs
...
svn: r11082
original commit: ad2b2b31995ea2ef7c5b0f65b240b90cc3808bf2
2008-08-05 15:05:25 +00:00
Sam Tobin-Hochstadt
6dafea4ae8
compiles except for language
...
original commit: 8489d5cfb9852229ba4625a8e59a5b34c2881da6
2008-08-05 11:05:07 -04:00
Sam Tobin-Hochstadt
4d9768895a
These tests now pass.
...
svn: r11067
original commit: 4ba93761313ed8f4c863d6fe05fa66b3aa37cf09
2008-08-04 18:36:38 +00:00
Eli Barzilay
a91efc813e
use schemeunit version 2
...
svn: r11049
original commit: c4f62cfc13f7a09b5cde28cd7f06c8f1596d7605
2008-08-03 14:47:02 +00:00
Sam Tobin-Hochstadt
4f7c6aff6a
Fix bug 9649.
...
svn: r11029
original commit: 28c5e71b01454eda4328a8abceed12f11aaeb865
2008-08-01 20:57:48 +00:00
Sam Tobin-Hochstadt
ef047be955
Fix docs of -> to talk about varargs.
...
svn: r11028
original commit: d7b4d81e04b656a814e9f82af201c8794fcae9d9
2008-08-01 20:42:30 +00:00
Sam Tobin-Hochstadt
10735f4a35
Allow ... rest variables to be used as lists.
...
Bind Values as a type.
svn: r11010
original commit: fa857a40acbb475ca2c2ab3b40d02c547d798129
2008-07-31 19:26:46 +00:00
Sam Tobin-Hochstadt
40dd66120c
add test
...
svn: r11009
original commit: 14b180d5a74018c0b9a2b0c2805045e9f910958a
2008-07-31 19:26:13 +00:00
Sam Tobin-Hochstadt
7beae186ec
Dynamic require only requires Schemeunit 2
...
svn: r11007
original commit: 72a2b55c1395bd82132b4334aecb421993a3f99d
2008-07-31 12:44:25 +00:00
Stevie Strickland
6e2786758e
Yes, we need the hyphen.
...
svn: r10968
original commit: 402de6f0903d05b7651204c8595a60972f9b2337
2008-07-29 17:10:01 +00:00
Stevie Strickland
b641a326cd
Actually, revert that last change. What we'll do is:
...
* Fix up things so that we actually use 'temp-dir via find-system-path
instead of using /tmp always
* Turn off logging via the logging? for-syntax definition.
svn: r10967
original commit: be456fec946e791ac3e1cfa76d705c8b9a568921
2008-07-29 17:06:11 +00:00
Stevie Strickland
4056c657b2
This shouldn't have been left in.
...
svn: r10966
original commit: 2d9a48a11d7c22bb4ba509336ecdb6a8e242b3b0
2008-07-29 16:58:21 +00:00
Stevie Strickland
f76a46dc8c
Add the forall Unicode symbol as an acceptable replacement for the
...
All type constructor.
svn: r10797
original commit: 91291ba2bc31e599ec703b5bdd091a6238ce6c71
2008-07-16 17:37:05 +00:00
Stevie Strickland
a42d2b6dd9
Add filter-map to base-env.ss
...
original commit: 39c343ec18dc9a850e1461869979a7c06e8d05b4
2008-07-15 00:33:14 -04:00
Stevie Strickland
b6fc5b6d36
This is too long for the paragraph, just separate it.
...
original commit: 1fd8f6c2c315a6ab1b374091bc8f3511b36d934c
2008-07-15 00:10:04 -04:00
Sam Tobin-Hochstadt
18810e108a
logging
...
original commit: 2866efd3485b19c98dd858b1db7e09928f0213c6
2008-07-14 08:48:14 -04:00
Stevie Strickland
8a0c610699
I'm not sure how best to add this as a hit for "rest argument(s)" without
...
actually putting that in the section title -- and truthfully, maybe it
should be, for those who aren't deeply versed in PL but know enough
Lisp/Scheme to ask for this.
original commit: e92c35d90c6558ef54f5d81191eb4c1eaf88249c
2008-07-13 22:33:37 -04:00
Sam Tobin-Hochstadt
d77d7ba57f
Fix handling of mutable structs (setters != getters)
...
Allow use of #:mutable as define-typed-struct arg
Fix types of random andmap ormap
original commit: 2456dcc18b10a10a7bad3b1f9af8e33fad03231f
2008-07-13 17:31:58 -04:00
Stevie Strickland
5a2792932f
Put the beginnings of documentation here.
...
original commit: 4e7f527cb8ad3c2bdfc872c4da8d8e8d6725df1f
2008-07-13 16:50:05 -04:00
Stevie Strickland
c9a76891bc
Starting to expand out the documentation in preparation of merging this
...
branch back to trunk.
original commit: d6f527a96f05fe949ef032c471e2abca9bc89da9
2008-07-13 16:07:29 -04:00
Stevie Strickland
0278f71d93
I thought I checked this in, but apparently not! Oops.
...
original commit: 05e54f0dfe619a491d7c337e4562f60f8dbdb7e9
2008-07-13 04:35:54 -04:00
Eli Barzilay
362100e41e
* Newlines at EOFs
...
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind
svn: r10689
original commit: 7d50e61c7f6831936e13e6af5140db65db18fe1c
2008-07-09 07:18:06 +00:00
Sam Tobin-Hochstadt
89696cbcd4
Finally found a nasty bug involving variables not appearing in the hash table.
...
original commit: b835002d72e06f13991ea4adbc6d052fa6fe0c0e
2008-07-07 19:21:42 -04:00
Sam Tobin-Hochstadt
dbca8c34e4
Add new test for force/delay.
...
Fix tests that have errors to have appropriate parameters.
original commit: 717a81283582694de7508f6251e2d880da78d8cc
2008-07-07 17:15:10 -04:00
Sam Tobin-Hochstadt
ea5d2b8f5f
Add require of scheme/promise for force.
...
Handle call-with-values more appropriately.
original commit: 589ba9d77a6d120f5cf0ebcc926518db69d391bf
2008-07-07 16:43:12 -04:00
Sam Tobin-Hochstadt
6cd98e19ef
Int is not a type
...
original commit: f2699abe6539da6e44e9a8e19fe481b26a2fa8ec
2008-07-07 15:36:45 -04:00
Sam Tobin-Hochstadt
ae6caf4765
Fix exn-pred handling.
...
original commit: 41c9a2eaf17825f3af06ae16232cdd827f2864ea
2008-07-07 15:19:50 -04:00
Sam Tobin-Hochstadt
4a8331d129
More failure tests.
...
original commit: 477cba1b0bdf8595b2c434fe731d29a1d5f5abda
2008-07-07 15:06:21 -04:00
Sam Tobin-Hochstadt
13384db457
make-Values now checks its argument for having only 1 element
...
original commit: 2844dec0a109157a05db51e8494d3f317c96c379
2008-07-07 14:58:22 -04:00
Sam Tobin-Hochstadt
e8621eecf0
Fix up singleton values
...
original commit: d0939ffa1e57894a076bfd6326c4d977cfdf3e2e
2008-07-07 14:49:46 -04:00
Sam Tobin-Hochstadt
760559a6db
Add failure cases.
...
original commit: 88cbe6387952e9da5e57c46c9977a15702e41b82
2008-07-07 14:49:19 -04:00
Sam Tobin-Hochstadt
bbb3e251f8
More info in internal errors.
...
Fix substitution in nested ... case.
original commit: 61cefef89c8120ffc46d9cc9095637d8337c924e
2008-07-07 14:25:15 -04:00
Sam Tobin-Hochstadt
cc2b39add3
Since this is now in a different loc, need to fix up the require.
...
original commit: 2714b3a84ac5c44af205c1a2460146e64d878daa
2008-07-07 12:56:19 -04:00
Sam Tobin-Hochstadt
782a227c35
Adding Sam's test for value dots.
...
original commit: 3dbf0f7ccc9ed8e2686f577ece004ad718c6982b
2008-07-07 12:54:45 -04:00
Sam Tobin-Hochstadt
6fac649e7a
remove trace
...
original commit: e06a22c29b3e36cc4f51822b3d4b8ddcff6d682e
2008-07-07 12:27:08 -04:00
Sam Tobin-Hochstadt
70d1b6b497
values with dots
...
original commit: c43c3baa67512954b0f2e477aafde6f8461bd99a
2008-07-07 11:01:42 -04:00
Stevie Strickland
19b45b32c4
Example of nested polydots.
...
original commit: b90e1505d35e695f13cd81417ced00fae709223b
2008-07-01 14:43:44 -04:00
Sam Tobin-Hochstadt
f84545ceef
Extra require.
...
Compile files first.
original commit: bbae1112294a6f92342af3d3ca77a139b3b1c729
2008-07-01 11:27:05 -04:00
Sam Tobin-Hochstadt
02f34aa0fd
Check number of type errors.
...
original commit: 97c5444b88b79c70c1e7625361e6c6ea48284621
2008-06-24 14:05:24 -04:00
Sam Tobin-Hochstadt
d229e895b4
new test
...
original commit: d7cf0a10c06ea231812e29a3f480ebe6ec7f15de
2008-06-24 11:43:06 -04:00
Stevie Strickland
de9142f4ba
Let's also try out the abstracted version of this function.
...
original commit: e4a0dc82b3753641b0da838e393d7ff453ca37c9
2008-06-21 21:09:03 -04:00
Stevie Strickland
16df4ac649
Remove the bits and pieces used to diagnose the original file, and add the
...
non-outer-apply versions (that have no reason not to work).
original commit: 48961eb5519b86de55b100fa98ab8c526c9dd699
2008-06-20 17:50:15 -04:00
Stevie Strickland
028aeadc4b
Revert last change.
...
original commit: a6ea8d79543ba3db69a859700dde9c78d583dd8b
2008-06-20 15:47:56 -04:00
Stevie Strickland
eb320ad75d
Revert last change.
...
original commit: ce58c4c6763f6ee31604f38660e3165f29096931
2008-06-20 15:47:22 -04:00
Sam Tobin-Hochstadt
9810d79ec5
Remove no-longer-needed inst.
...
original commit: b2edd9d19754b1297ce02eb04d591ccc7f29e46a
2008-06-20 15:27:59 -04:00
Sam Tobin-Hochstadt
34df17ddb4
Use the X from cgen/list to create the empty cmap.
...
This allows (vector) to have type (Vectorof (U))
original commit: 0366745cbf3e8308b9700305c7e187aa260119ba
2008-06-20 15:27:46 -04:00
Sam Tobin-Hochstadt
b133c45645
Small changes needed after changes to infer.
...
original commit: 89cb3a4b09243dcc3bf292cfd682f226e1f2d326
2008-06-20 14:46:24 -04:00
Sam Tobin-Hochstadt
f2b3eadd88
Correct and incorrect uses of dotted identity
...
original commit: bec9c11fd4d61bceb966b06e5a9517d286af9ca4
2008-06-20 13:07:42 -04:00
Sam Tobin-Hochstadt
53200d23db
* Added code to check that substitution gets rid of all appropriate
...
variables (and fails if not)
* Added weird dotted as subtype of * case (dcon-exact)
original commit: 6296ffbfcf85a624227f11f486fb195954e4479b
2008-06-20 13:07:08 -04:00
Stevie Strickland
ee044ee4c4
* Add the ability to substitute in starred types for dotted when
...
we've inferred it.
* Try and consolidate a lot of the error printing with domain mismatches.
original commit: 654d7e2f4683f65ba7d0a12491d4b3b834bd70f3
2008-06-19 19:14:32 -04:00
Stevie Strickland
8a6adc82da
Another change.
...
original commit: a1f078fb591d87b572864f80b152a9f1e462b10a
2008-06-19 19:12:39 -04:00
Stevie Strickland
20fdbea031
Another example, putting in starred for dots.
...
original commit: af12feb72972ca9f5c0ae71573be43101c93dc76
2008-06-19 19:10:05 -04:00
Sam Tobin-Hochstadt
ffc0331fa7
New test
...
original commit: 2bf691991c2c7316cb2f4b30677a7fd424f7e4dc
2008-06-19 18:04:30 -04:00
Sam Tobin-Hochstadt
6a3dbebd07
Do substitution properly from dmap.
...
original commit: 0f142d97e3d2d995fa18f694e211cbdabf814bbf
2008-06-19 18:04:19 -04:00
Sam Tobin-Hochstadt
2e4d817391
More tests!
...
original commit: e62598ef08326c3a0f20a57c5b8370d0319473a5
2008-06-19 16:55:26 -04:00
Sam Tobin-Hochstadt
8338ee8756
* Add constraints when matching t1...a to t2...b
...
* Do inference when you have (apply f ... xs), f and xs are dotted,
and on different bounds.
* Add fold-right to extra-procs and its type to base-env
original commit: b9e1676a55ab3f8d454a58aa290a0dcb0ecce414
2008-06-19 16:55:06 -04:00
Sam Tobin-Hochstadt
8be54e9a3b
Add unit test for dotted instantiation, and add version of
...
fold-left/fold-right that explicitly instantiates the
recursive call.
original commit: 2a7dbe2a80d34abc5097e144b80bda9965546703
2008-06-19 14:59:19 -04:00
Sam Tobin-Hochstadt
da03725d19
* Split apart identifier typechecking and type instantiation
...
* Add dotted instantiation (replacing bounds with different bounds)
* Fix some macro issues, including syntax locations
* Fix more effect inference
original commit: bb8d8e23d81c7f1324d1bfc8b33882fc71f94503
2008-06-19 14:57:35 -04:00
Sam Tobin-Hochstadt
8e48f42184
Fix test to expecte effects.
...
Remove useless annotation.
original commit: 36408a32d5526038ecda7c8b05ba844868a0ac5e
2008-06-19 13:23:27 -04:00
Sam Tobin-Hochstadt
b3223cab41
Fix tests, add filter tests.
...
original commit: 1af866586ec8e5497e4d4564ac1b129f4c0a02e4
2008-06-19 12:41:06 -04:00
Sam Tobin-Hochstadt
3aeffe3d9f
Fix filter type.
...
svn: r10374
original commit: 1880eb4afbbc5044d9643038cec7338f3051bc24
2008-06-19 16:07:12 +00:00
Sam Tobin-Hochstadt
3ea5cf0e61
Fix type of filter, and inference w/ effects.
...
original commit: 3fd969651fbb7c90983ae76542c80391624e1f39
2008-06-19 11:57:07 -04:00
Sam Tobin-Hochstadt
7f4b1a5cd1
Fix macro impl.
...
original commit: 23aeff8c3bdc57442164d9865411f867917b7448
2008-06-19 11:12:32 -04:00
Stevie Strickland
f939f616f5
Lift out the recursive call, since that'll be shared across all substitutions.
...
original commit: f68efe9e317a53de87a4acb7e15875f4364044b7
2008-06-18 23:48:31 -04:00
Stevie Strickland
156c0d0d38
I'm not sure what to do about this, given the recursive sb call.
...
original commit: 51ec643172e3893701b2a68ca7a5430ddac7ee8c
2008-06-18 18:53:46 -04:00
Stevie Strickland
8cc53d8936
Instantiation... seems to be broken. Adding unit tests to alert us to that
...
fact.
original commit: 8256f922f9c9cd2e24261b4309700c7e896c4454
2008-06-18 18:22:16 -04:00
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
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
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
Sam Tobin-Hochstadt
a015829d77
Fix typed scheme reader for new reader API.
...
svn: r9182
original commit: b800f4ed3e3c66cb879bb2b26258ea3cda23cf56
2008-04-07 21:03:27 +00:00
Sam Tobin-Hochstadt
9421dd6676
Remove old match implementation.
...
Fix typed-scheme to work w/ new match.
Factor out lots of common code.
Implement (mcons ..) patterns
svn: r9086
original commit: ae4acf1d517beeb7673edb12cff77add32ebf89c
2008-03-25 18:26:39 +00:00
Sam Tobin-Hochstadt
0572a47806
fix or pattern
...
svn: r9059
original commit: 709741fc96777a02628ba545594ce5e04d2464ad
2008-03-22 02:27:13 +00:00
Sam Tobin-Hochstadt
15ff7a9956
Switch to #lang everywhere.
...
Fix up requires to use srfi-1 less, and in a uniform way.
svn: r9030
original commit: b0f41af021a188542867fddcfcb6b051206abf85
2008-03-20 13:31:18 +00:00
Sam Tobin-Hochstadt
90e30f8ee7
Move typed-scheme/lang/main.ss to typed-scheme/main.ss.
...
Fix documentation to match.
svn: r8886
original commit: 621cff1d9abce5e0fc2cb3bb474f7dd41f15e0af
2008-03-04 23:18:16 +00:00
Sam Tobin-Hochstadt
684b5c1c2b
Remove tool.
...
Improve error message source.
Add `build-list'
Don't give internal error when inference returns a bad result.
svn: r8885
original commit: f7d6b01d261521f8de4f572bd1b4644ea997dae2
2008-03-04 23:09:45 +00:00
Eli Barzilay
e083db98ad
typed scheme is not released yet, the docs should go elsewhere
...
svn: r8877
original commit: ec78d4660d2d02f37cc9b9241b2eac6aa95ca74e
2008-03-04 17:38:32 +00:00
Eli Barzilay
53b8945aa2
misc things
...
svn: r8866
original commit: 5ff5d6c58005f8276e4517079ded454205359aba
2008-03-04 02:46:54 +00:00
Eli Barzilay
b870111e99
redundant name field
...
svn: r8865
original commit: f1a68778d288b617a4967b5311524a13b8d61fb0
2008-03-04 01:49:43 +00:00
Sam Tobin-Hochstadt
7f2824d11c
Add Typed Scheme as a collection.
...
svn: r8864
original commit: 0d54ed5e7427f5e75e6274cc3c9625e676fc34bc
2008-03-03 22:57:55 +00:00