Sam Tobin-Hochstadt
43689172b7
polymorphic lambdas are true values.
...
Use correct pattern.
Return the appropriate types from apply, not the Values struct in the rng.
svn: r14756
original commit: 1444c07c0af3f1ebfffe8db7e3782e96711ea2ef
2009-05-08 23:11:57 +00:00
Sam Tobin-Hochstadt
a7cdd78864
Provide tc-literal.
...
svn: r14754
original commit: c2da52d661d95092e55a3bdc069949f2a1fe5683
2009-05-08 21:41:23 +00:00
Sam Tobin-Hochstadt
358a8d5ca6
Remove debugging printfs.
...
Comment tests back in.
svn: r14748
original commit: 3575ba8d5fb8ee8378c69165e88f1af444795a2c
2009-05-08 19:10:12 +00:00
Sam Tobin-Hochstadt
d2bea2a771
Add missing file.
...
Fix bug in struct type creation.
Add ability to disable printing dynamically.
Fix recursion into objects & paths.
svn: r14747
original commit: dbe5556b45a036e0457dc2f5ae6abcfad31d2947
2009-05-08 19:00:07 +00:00
Sam Tobin-Hochstadt
c6953e5403
All code from old app is now in new app
...
svn: r14740
original commit: d2cc1b2400a6c15c4103de0a0f4f2561cd0c9ce9
2009-05-07 20:17:38 +00:00
Sam Tobin-Hochstadt
f031868e1b
Type inference for ((lambda with rest args
...
svn: r14739
original commit: aa887be6d2def1ba9f3c57abb82b31f771ff35f9
2009-05-07 17:40:29 +00:00
Sam Tobin-Hochstadt
783581aa49
Handle polymorphic function application.
...
Paths work with car/cdr.
Fix #%require/#%provide top-level handling.
svn: r14735
original commit: 50696a08a31258428edf4af9d58c84d763a2bc17
2009-05-06 22:45:12 +00:00
Sam Tobin-Hochstadt
e4997f6176
Remove `make-arr/values'
...
Accessors now have appropriate latent objects
Handle function application for unions, error, mu, parameters
svn: r14724
original commit: 07341c605b9660333444665265a4fb3104efdc6e
2009-05-05 23:03:02 +00:00
Sam Tobin-Hochstadt
dfcd59c8fa
Handle rest args and case-lambda in app.
...
Fix parsing.
svn: r14722
original commit: 59dbcade9c888afac614dba06b4c93cdff64c6b7
2009-05-05 19:10:21 +00:00
Sam Tobin-Hochstadt
7a07559474
Various constants are true.
...
Remove useless code.
`combine-filter' now handles producing the new type/object in appropriate cases.
Move student expansion later in pattern match.
Print out top-level tc-results.
svn: r14721
original commit: 6b89062d6a2e6b35fb24c71d7f0fb839d49546b1
2009-05-05 16:27:18 +00:00
Sam Tobin-Hochstadt
c5bb0e753d
`values->tc-results' needs the formals
...
Fix values->tc-results for ValuesDots
Don't generate problematic nested lists.
Fix stupid typo.
Parsing of tc-results now doesn't use parsing of values, which does something different.
svn: r14713
original commit: 9c538764dcd499d9b8a04b415a88835ccd55f1c9
2009-05-04 18:49:56 +00:00
Sam Tobin-Hochstadt
f0ec51670c
fix values->tc-results, doesn't compile yet
...
svn: r14688
original commit: cce7f91b78955206b44c180c77b9c6d78be88ce4
2009-05-02 12:46:53 +00:00
Sam Tobin-Hochstadt
4627335b14
Fold tc/let-values/check into tc/let-values.
...
Remove printfs.
More metafunctions to handle splitting and merging filter sets.
Handle `delay', `list', `list*'
Implement tc/funapp for the simple case.
Make `id-from' a stxclass.
Shuffle code around so that it compiles.
Type parsing now handles multiple values properly, and has a values and results entry point.
svn: r14680
original commit: b4d100d60cb99e714374d2db3c75a36167b109cc
2009-05-01 21:18:23 +00:00
Sam Tobin-Hochstadt
4255e1dfab
Add `single-value' function, should be used more.
...
Construct returns correctly in lam-result->type
Add typechecking for `values' applications.
Extend `ret' to handle dty/dbound.
Define conversions from/to values <-> results
Handle multiple values at the repl.
svn: r14665
original commit: 91f5c269642ec9ecc62efabcc83131db539fcedd
2009-04-29 22:54:29 +00:00
Sam Tobin-Hochstadt
e79d66e9b8
Rename id to mk-id to avoid name clashes.
...
Start on new tc-app as copy.
svn: r14660
original commit: c5b4ac4f219f2421ebc2743b2c8afa038109f389
2009-04-29 19:52:53 +00:00
Sam Tobin-Hochstadt
9ded685d1c
copy
...
svn: r14659
original commit: e79ece72c524eb8a187bd905dc98a2ebf8b28755
2009-04-29 19:38:36 +00:00
Sam Tobin-Hochstadt
ac6d723e03
more testing
...
svn: r14655
original commit: b205f65bec553659e19641c61b7b5d94bb8e25dd
2009-04-29 16:58:20 +00:00
Sam Tobin-Hochstadt
fa0e28678a
a couple small fixes
...
svn: r14643
original commit: ce0032f4c5d1262848d58f48d6846446b3f46f28
2009-04-28 18:53:16 +00:00
Sam Tobin-Hochstadt
3161d6d8a3
fix subtyping w/ filters
...
svn: r14640
original commit: 7b6702c9e77f1ea1e4adcf52c62cd4fa74cd1a44
2009-04-28 14:56:18 +00:00
Sam Tobin-Hochstadt
6ecd33b765
more fixes for lambda with expected
...
svn: r14639
original commit: 077574cfe1192c2004b2b1528c103f6b58524359
2009-04-28 14:48:53 +00:00
Sam Tobin-Hochstadt
1ed980a7eb
Fixes for letrec.
...
svn: r14638
original commit: 9118e9ef1263e0d92959b8b96f81c25684e67204
2009-04-28 14:24:09 +00:00
Sam Tobin-Hochstadt
33ec27925d
lots of let improvements
...
and check rationalization
svn: r14635
original commit: 5a49e92de7e48a52482a3287846a8a37b8d42de4
2009-04-27 23:25:34 +00:00
Sam Tobin-Hochstadt
b0634cd6af
fixes for plambda
...
svn: r14634
original commit: 2e2e9b8acf4cb8e48327f4f29229577bee19a006
2009-04-27 22:44:42 +00:00
Sam Tobin-Hochstadt
e3f499b605
more contracts
...
more fixes
svn: r14632
original commit: af7b966c82cf3ed41ec4a3acf37e5503033ce912
2009-04-27 21:58:35 +00:00
Sam Tobin-Hochstadt
4329ac34db
Lots more fixes
...
svn: r14631
original commit: 9853ae1f0f0d7c4791bc2237ab8183f6102ffa50
2009-04-27 21:16:34 +00:00
Sam Tobin-Hochstadt
4495909274
use correct constructor
...
svn: r14630
original commit: 4d8ba2bca691a99f48a332b1c3cc4dab7f61d7dd
2009-04-27 20:15:14 +00:00
Sam Tobin-Hochstadt
fca47159f2
two fixes
...
svn: r14629
original commit: 18f89c73e43e160c26a3f42d6d118f022ac3814a
2009-04-27 20:11:57 +00:00
Sam Tobin-Hochstadt
8b96f98595
compiles again
...
svn: r14625
original commit: 8cbdf3ee951ce80178ff79b135906cb3d56c5a7e
2009-04-27 16:06:54 +00:00
Sam Tobin-Hochstadt
9751e87403
fix conflicts
...
svn: r14601
original commit: 994f0205f49bb8960b118ca0dda8dae740b1ab1c
2009-04-24 21:30:18 +00:00
Sam Tobin-Hochstadt
ba8d0ff816
resolve conflicts
...
svn: r14598
original commit: 1edf62a912ac0468c2a995043c58826607d645dc
2009-04-24 21:21:06 +00:00
Sam Tobin-Hochstadt
4d2d5bfc9f
remove debug printf
...
svn: r14578
original commit: 1edd4770f4f73daf82601a20d9e4c44854fee261
2009-04-21 17:43:33 +00:00
Sam Tobin-Hochstadt
a6b5a432c0
Add test for match improvements.
...
Improve handling of inference for let loop.
svn: r14573
original commit: b1b5fe481681aef76c06b8abf1abe4cc267533ec
2009-04-21 15:35:05 +00:00
Sam Tobin-Hochstadt
17c0dbbcd3
Infer on ((lambda
...
add types for matchable? and match-equality-test
svn: r14570
original commit: 8918328e8a06d4cc7973bd94cb6c436e286d0be1
2009-04-20 22:41:37 +00:00
Sam Tobin-Hochstadt
297a5745a6
Fix polymorphic structure predicates.
...
svn: r14483
original commit: 929dc1d5b245e03d59eba55989c42c1a3e91954a
2009-04-10 00:07:11 +00:00
Sam Tobin-Hochstadt
88b15b7219
Fix bug with structure keys and polymorphic structs.
...
Use `match*'
Add test
svn: r14482
original commit: 69a3b7a70f56e01d732491d0fa001fe3c7667868
2009-04-09 23:52:13 +00:00
Sam Tobin-Hochstadt
b111dc6b98
Fix bug with match dots.
...
Fix handling of keywords.
Add keywords in call-with-input/output-port.
svn: r14469
original commit: ac7e87936043f80e97057c252b855159349001d6
2009-04-08 20:24:05 +00:00
Sam Tobin-Hochstadt
35a67354ca
Require that `require/typed' uses the contracted version of typed identifiers.
...
svn: r14415
original commit: 6d302a93046299af4ccd58f8e8ea3938c258f7ac
2009-04-03 18:42:38 +00:00
Sam Tobin-Hochstadt
474ead72a9
Add refinement types.
...
Add `parse-commmand-line'
svn: r14372
original commit: cd4305ca4f395a183450b762b2c7e5be0fe4d7db
2009-03-31 03:33:04 +00:00
Sam Tobin-Hochstadt
5949a60cf7
fix some small bugs
...
svn: r14352
original commit: ebdd60a3a3cbdc7904f71c93316379caf866afdf
2009-03-30 12:51:02 +00:00
Stevie Strickland
f288f98416
Sam and I did some work to allow automatic inferred linking in
...
(define-values/)invoke-unit/infer.
svn: r14315
original commit: 99aac7d7455c3ce9189d038f781558b6bd696424
2009-03-27 13:47:12 +00:00
Sam Tobin-Hochstadt
fc897da813
sync ts to trunk
...
svn: r14257
original commit: fcc2a24545b0b4f71052457acdf8097f084a4b27
2009-03-25 01:07:34 +00:00
Sam Tobin-Hochstadt
56216d320e
Use 'no-free-identifier=? property with rename transformers.
...
Allow use of ... without bound when only one ... var in scope.
svn: r14214
original commit: 6d8014783b16c2d31624f8bd5f6d25d9fb10b5e2
2009-03-22 12:41:26 +00:00
Sam Tobin-Hochstadt
fdfa1cd04a
Allow `apply' of non-uniform polymorphic functions to fixed-length list arguments.
...
Please backport.
svn: r14162
original commit: 0ed8d251bff94224448a2d860d329a7427513a61
2009-03-17 21:18:50 +00:00
Sam Tobin-Hochstadt
d8ac05e077
disable application checking, `3' now typechecks
...
svn: r14128
original commit: 537d267314bbf5e74230460874b9af89a43bfacf
2009-03-16 15:28:29 +00:00
Sam Tobin-Hochstadt
d3e559a233
more work on lambda
...
svn: r14073
original commit: c4f5fd3773100a15690ef37c1f3f7b331db64d03
2009-03-12 15:27:24 +00:00
Sam Tobin-Hochstadt
feaf570b14
new version of abstract-filters that handles multiple values/arguments properly
...
strengthen contracts
improve match expanders
svn: r14057
original commit: c51dd1e8b058b99367a7a0fb8df4135f04cfcd4c
2009-03-11 19:11:50 +00:00
Sam Tobin-Hochstadt
61750cad33
tc-lambda-unit now compiles
...
generalize tc-results to handle drest
svn: r14044
original commit: 058e78ab17c0b749196849660d3d580c08df6c9a
2009-03-11 00:15:13 +00:00
Sam Tobin-Hochstadt
11f325e1c6
Correctly report syntax def from define-struct:
...
Add alias in type env when rename transformer is used.
svn: r14034
original commit: 79ee9fbee8868a4f5911356d2c1d2a9b0d7fd016
2009-03-10 20:29:02 +00:00
Sam Tobin-Hochstadt
2afd5ece54
everything except lambda, app units work
...
svn: r14008
original commit: 8b7497cccfa8dcc264bf16f90641f2f3f99084b2
2009-03-07 23:19:41 +00:00
Sam Tobin-Hochstadt
fc229e12cb
New true-filter and false-filter abbrevs
...
Fix for Stevie's d-s/c fix.
tc-expr now compiles
svn: r14007
original commit: 18e03efc840e0df5dec1a6333a0d6ba42fc10bb1
2009-03-07 22:51:54 +00:00