Commit Graph

35 Commits

Author SHA1 Message Date
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
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
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
dfbfc371e2 more printer improvements
svn: r14633
2009-04-27 22:24:47 +00:00
Sam Tobin-Hochstadt
9853ae1f0f Lots more fixes
svn: r14631
2009-04-27 21:16:34 +00:00
Sam Tobin-Hochstadt
f2bffcabab Sync to trunk again.
Fix require/contract.
Subtyping, printing for refinements.

svn: r14626
2009-04-27 18:26:00 +00:00
Sam Tobin-Hochstadt
8cbdf3ee95 compiles again
svn: r14625
2009-04-27 16:06:54 +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
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
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
6c30e2d9e7 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
2009-03-06 19:50:42 +00:00
Sam Tobin-Hochstadt
147cac076c handle subtyping for varargs functions
svn: r13962
2009-03-05 00:09:43 +00:00
Sam Tobin-Hochstadt
e53a851bc2 base-env now compiles
svn: r13954
2009-03-04 19:28:48 +00:00
Sam Tobin-Hochstadt
37aa9746ea more stuff compiles
svn: r13952
2009-03-04 18:53:37 +00:00
Sam Tobin-Hochstadt
7847d35842 undo this move
svn: r13947
2009-03-04 16:37:00 +00:00
Sam Tobin-Hochstadt
e8fa7fd4dd more movement
svn: r13945
2009-03-04 16:32:50 +00:00
Sam Tobin-Hochstadt
c819793a82 more stuff works
svn: r13935
2009-03-04 00:13:54 +00:00
Sam Tobin-Hochstadt
9d0ee637c7 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
2009-03-03 23:18:00 +00:00
Sam Tobin-Hochstadt
f05fcfcf13 all of types/ now compiles
everything that doesn't use Un out of convenience.ss
added -out form for requires

svn: r13931
2009-03-03 22:45:57 +00:00
Sam Tobin-Hochstadt
44902149cb convenience now compiles
svn: r13930
2009-03-03 22:30:08 +00:00
Sam Tobin-Hochstadt
bbfb99bc77 More file movement
svn: r13929
2009-03-03 22:26:15 +00:00
Sam Tobin-Hochstadt
0eda7878d5 fix make-arr
svn: r13926
2009-03-03 21:53:26 +00:00
Sam Tobin-Hochstadt
eaf15594c0 subtype.ss now compiles
svn: r13901
2009-03-03 01:24:06 +00:00
Sam Tobin-Hochstadt
ea86a63e80 move subtype.ss
svn: r13815
2009-02-24 16:23:16 +00:00
Sam Tobin-Hochstadt
af3449cf56 more file moving
svn: r13797
2009-02-23 03:02:00 +00:00
Sam Tobin-Hochstadt
a197c1b961 new directory
svn: r13796
2009-02-23 02:53:39 +00:00