Commit Graph

55 Commits

Author SHA1 Message Date
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
Sam Tobin-Hochstadt
d293635cb7 combine-filter
update

svn: r13992
2009-03-06 20:54:39 +00:00
Sam Tobin-Hochstadt
e2a017f331 fix typo
svn: r13989
2009-03-06 19:51:33 +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
00721c10c8 all of private, and tc-structs, now compiles
svn: r13956
2009-03-04 19:49:20 +00:00
Sam Tobin-Hochstadt
cc1265fc61 Fix contract on App.
Fix function construction for rec-lambda/check
Re-enable printing.

svn: r13687
2009-02-17 01:09:23 +00:00
Sam Tobin-Hochstadt
02efc28dff Fix error message when polymorphic inference fails because of expected type.
Add test case.

svn: r13639
2009-02-16 02:12:13 +00:00
Sam Tobin-Hochstadt
24e4cf5aca Merge in changes from type-keys branch:
- Use stxclass for defintern/dt/de
- Add type keys to optimize subtyping
- Fancier printing when regular printing is disabled for debugging.
- Caching of the results of subtyping.
- Contracts for hashtable types (still insufficent)
- add type for `last-pair' from `scheme/list'
- new "private/type-abbrev.ss" which contains things 
  from "private/type-effect-convenience.ss" that don't 
  need subtyping/unions
- Don't use the real union constructor on mu unfolding
- more work on (not yet enabled) stxclass type parser
- Naming sanity in tests

svn: r13628
2009-02-15 22:56:14 +00:00
Sam Tobin-Hochstadt
e13c4b690d new branch initial commit
svn: r13578
2009-02-14 16:03:25 +00:00
Sam Tobin-Hochstadt
e61075a4fd Default types for lambda formals.
svn: r13539
2009-02-12 23:55:53 +00:00
Sam Tobin-Hochstadt
9f77daab41 fix expr attribute
svn: r13438
2009-02-04 23:07:09 +00:00
Sam Tobin-Hochstadt
3ab3c8d368 commit work to new branch, doesn't work yet
svn: r13427
2009-02-04 20:19:41 +00:00
Sam Tobin-Hochstadt
2962c0bfa7 Fix handling of inexact integer literals.
svn: r13294
2009-01-27 17:55:10 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Sam Tobin-Hochstadt
587ca08466 Don't fail early here.
svn: r12729
2008-12-08 03:37:24 +00:00
Sam Tobin-Hochstadt
dd8e878cb4 Fix time-apply, add test
svn: r12727
2008-12-08 03:12:38 +00:00
Sam Tobin-Hochstadt
e6eb482de4 Enable require-typed-struct with substructures.
Fixes PR 9053.
Move test to succeed.
Add some new bindings.

svn: r12709
2008-12-05 00:25:02 +00:00
Sam Tobin-Hochstadt
541a47f7fd Handle (Instance Foo) where Foo is unbound.
Return correct error behavior.

svn: r12410
2008-11-12 15:59:24 +00:00
Sam Tobin-Hochstadt
b7df781999 More specific type for quote-syntax (this hides an infinite loop)
svn: r12162
2008-10-28 22:40:19 +00:00
Sam Tobin-Hochstadt
0c44c5ce40 Handle multiple instantiation of a single expression.
svn: r12148
2008-10-27 20:06:31 +00:00
Sam Tobin-Hochstadt
0f347883dd Warn about unreachable code.
svn: r12146
2008-10-27 20:03:16 +00:00
Sam Tobin-Hochstadt
f18fe09752 Typechecking now uses effects from then branch if else branch is unreachable.
svn: r12109
2008-10-23 23:34:44 +00:00
Sam Tobin-Hochstadt
3a99284745 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
2008-10-21 18:01:03 +00:00
Sam Tobin-Hochstadt
b173fb073e revert this change to fix drscheme.
svn: r12075
2008-10-20 20:04:15 +00:00
Sam Tobin-Hochstadt
714e356fb4 revert previous change
svn: r12074
2008-10-20 19:01:52 +00:00
Sam Tobin-Hochstadt
aad41cc46e require/typed is really a definition for the purpose of provide.
svn: r12073
2008-10-20 16:55:55 +00:00
Sam Tobin-Hochstadt
3db02a50e1 Fix inference for simple fns with ...
svn: r11977
2008-10-08 15:34:05 +00:00
Sam Tobin-Hochstadt
dbf4462228 Fix bug in inference when tvars in env.
svn: r11968
2008-10-07 21:55:25 +00:00
Eli Barzilay
8d06e0c707 rename holder -> keep
svn: r11932
2008-10-04 19:10:38 +00:00
Sam Tobin-Hochstadt
98c02cb887 Fix handling of explicit maker in tc-struct.
svn: r11881
2008-09-26 12:23:33 +00:00
Sam Tobin-Hochstadt
917307bd2e Fix delay/force.
svn: r11841
2008-09-22 21:37:13 +00:00
Sam Tobin-Hochstadt
88d44f9c5b Catch error before internal error, more informative internal error.
svn: r11837
2008-09-22 18:35:24 +00:00