Sam Tobin-Hochstadt
1047f7625d
Handle ValuesDots in check-below.
...
Fix typo in valuesdots handling in values->tc-results
Handle ValuesDots in do-ret.
Don't try to construct silly wrappers for `apply values'
Don't use rest as list extension if it's #f
Fix tc-result handling for check-subforms/check
Add stronger contracts for Scope
Always generate substitution for infer/dots.
Fix type of `time-apply'
svn: r14815
2009-05-14 18:57:02 +00:00
Sam Tobin-Hochstadt
775fa34f5f
Add some contracts in tc/plambda.
...
Fix handling of tc-results vs types.
svn: r14812
2009-05-14 15:11:33 +00:00
Sam Tobin-Hochstadt
a3fb3575f9
rationalize get-type/infer to handle tc-results.
...
Fix tc-let to handle tc-results in various places.
svn: r14796
2009-05-13 16:16:39 +00:00
Sam Tobin-Hochstadt
8ca532220a
Enable inference for ((lambda with rest args when no annotation on rest arg
...
svn: r14794
2009-05-13 14:34:44 +00:00
Sam Tobin-Hochstadt
8fc6e38b11
Fix inference when filters/objects are not needed
...
svn: r14790
2009-05-12 21:31:21 +00:00
Sam Tobin-Hochstadt
a8a64cfa7c
Special case for `call-with-values'
...
handle subtyping with ... args
svn: r14788
2009-05-12 20:56:32 +00:00
Sam Tobin-Hochstadt
ce9f98098d
Type goes before symbol in drest.
...
Handle tc-results properly in a few places.
svn: r14785
2009-05-12 16:53:24 +00:00
Sam Tobin-Hochstadt
7b4081eef1
Allow objects to be specified in ->
...
Fix overlap to handle overlapping base types (numbers)
svn: r14781
2009-05-12 15:13:17 +00:00
Sam Tobin-Hochstadt
1444c07c0a
polymorphic lambdas are true values.
...
Use correct pattern.
Return the appropriate types from apply, not the Values struct in the rng.
svn: r14756
2009-05-08 23:11:57 +00:00
Sam Tobin-Hochstadt
c2da52d661
Provide tc-literal.
...
svn: r14754
2009-05-08 21:41:23 +00:00
Sam Tobin-Hochstadt
3575ba8d5f
Remove debugging printfs.
...
Comment tests back in.
svn: r14748
2009-05-08 19:10:12 +00:00
Sam Tobin-Hochstadt
dbe5556b45
Add missing file.
...
Fix bug in struct type creation.
Add ability to disable printing dynamically.
Fix recursion into objects & paths.
svn: r14747
2009-05-08 19:00:07 +00:00
Sam Tobin-Hochstadt
d2cc1b2400
All code from old app is now in new app
...
svn: r14740
2009-05-07 20:17:38 +00:00
Sam Tobin-Hochstadt
aa887be6d2
Type inference for ((lambda with rest args
...
svn: r14739
2009-05-07 17:40:29 +00:00
Sam Tobin-Hochstadt
50696a08a3
Handle polymorphic function application.
...
Paths work with car/cdr.
Fix #%require/#%provide top-level handling.
svn: r14735
2009-05-06 22:45:12 +00:00
Sam Tobin-Hochstadt
07341c605b
Remove `make-arr/values'
...
Accessors now have appropriate latent objects
Handle function application for unions, error, mu, parameters
svn: r14724
2009-05-05 23:03:02 +00:00
Sam Tobin-Hochstadt
59dbcade9c
Handle rest args and case-lambda in app.
...
Fix parsing.
svn: r14722
2009-05-05 19:10:21 +00:00
Sam Tobin-Hochstadt
6b89062d6a
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
2009-05-05 16:27:18 +00:00
Sam Tobin-Hochstadt
9c538764dc
`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
2009-05-04 18:49:56 +00:00
Sam Tobin-Hochstadt
cce7f91b78
fix values->tc-results, doesn't compile yet
...
svn: r14688
2009-05-02 12:46:53 +00:00
Sam Tobin-Hochstadt
b4d100d60c
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
2009-05-01 21:18:23 +00:00
Sam Tobin-Hochstadt
91f5c26964
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
2009-04-29 22:54:29 +00:00
Sam Tobin-Hochstadt
c5b4ac4f21
Rename id to mk-id to avoid name clashes.
...
Start on new tc-app as copy.
svn: r14660
2009-04-29 19:52:53 +00:00
Sam Tobin-Hochstadt
e79ece72c5
copy
...
svn: r14659
2009-04-29 19:38:36 +00:00
Sam Tobin-Hochstadt
b205f65bec
more testing
...
svn: r14655
2009-04-29 16:58:20 +00:00
Sam Tobin-Hochstadt
ce0032f4c5
a couple small fixes
...
svn: r14643
2009-04-28 18:53:16 +00:00
Sam Tobin-Hochstadt
7b6702c9e7
fix subtyping w/ filters
...
svn: r14640
2009-04-28 14:56:18 +00:00
Sam Tobin-Hochstadt
077574cfe1
more fixes for lambda with expected
...
svn: r14639
2009-04-28 14:48:53 +00:00
Sam Tobin-Hochstadt
9118e9ef12
Fixes for letrec.
...
svn: r14638
2009-04-28 14:24:09 +00:00
Sam Tobin-Hochstadt
5a49e92de7
lots of let improvements
...
and check rationalization
svn: r14635
2009-04-27 23:25:34 +00:00
Sam Tobin-Hochstadt
2e2e9b8acf
fixes for plambda
...
svn: r14634
2009-04-27 22:44:42 +00:00
Sam Tobin-Hochstadt
af7b966c82
more contracts
...
more fixes
svn: r14632
2009-04-27 21:58:35 +00:00
Sam Tobin-Hochstadt
9853ae1f0f
Lots more fixes
...
svn: r14631
2009-04-27 21:16:34 +00:00
Sam Tobin-Hochstadt
4d8ba2bca6
use correct constructor
...
svn: r14630
2009-04-27 20:15:14 +00:00
Sam Tobin-Hochstadt
18f89c73e4
two fixes
...
svn: r14629
2009-04-27 20:11:57 +00:00
Sam Tobin-Hochstadt
8cbdf3ee95
compiles again
...
svn: r14625
2009-04-27 16:06:54 +00:00
Sam Tobin-Hochstadt
994f0205f4
fix conflicts
...
svn: r14601
2009-04-24 21:30:18 +00:00
Sam Tobin-Hochstadt
1edf62a912
resolve conflicts
...
svn: r14598
2009-04-24 21:21:06 +00:00
Sam Tobin-Hochstadt
ebdd60a3a3
fix some small bugs
...
svn: r14352
2009-03-30 12:51:02 +00:00
Sam Tobin-Hochstadt
fcc2a24545
sync ts to trunk
...
svn: r14257
2009-03-25 01:07:34 +00:00
Sam Tobin-Hochstadt
537d267314
disable application checking, `3' now typechecks
...
svn: r14128
2009-03-16 15:28:29 +00:00
Sam Tobin-Hochstadt
f1840f4eeb
sync to trunk
...
svn: r14074
2009-03-12 15:28:19 +00:00
Sam Tobin-Hochstadt
c4f5fd3773
more work on lambda
...
svn: r14073
2009-03-12 15:27:24 +00:00
Sam Tobin-Hochstadt
c51dd1e8b0
new version of abstract-filters that handles multiple values/arguments properly
...
strengthen contracts
improve match expanders
svn: r14057
2009-03-11 19:11:50 +00:00
Sam Tobin-Hochstadt
058e78ab17
tc-lambda-unit now compiles
...
generalize tc-results to handle drest
svn: r14044
2009-03-11 00:15:13 +00:00
Sam Tobin-Hochstadt
79ee9fbee8
Correctly report syntax def from define-struct:
...
Add alias in type env when rename transformer is used.
svn: r14034
2009-03-10 20:29:02 +00:00
Sam Tobin-Hochstadt
8b7497cccf
everything except lambda, app units work
...
svn: r14008
2009-03-07 23:19:41 +00:00
Sam Tobin-Hochstadt
18e03efc84
New true-filter and false-filter abbrevs
...
Fix for Stevie's d-s/c fix.
tc-expr now compiles
svn: r14007
2009-03-07 22:51:54 +00:00
Sam Tobin-Hochstadt
2dbd82e587
Add provides
...
Use Type/c instead fo Type? in contracts
New if typechecking.
match expanders for tc-result.
svn: r13996
2009-03-06 22:25:19 +00:00
Sam Tobin-Hochstadt
aa32d9b928
fix bugs
...
add env+
svn: r13994
2009-03-06 21:27:05 +00:00