Commit Graph

42 Commits

Author SHA1 Message Date
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
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
Sam Tobin-Hochstadt
e7a7036a48 Fix internal errors in error reporting.
svn: r11836
2008-09-22 18:09:49 +00:00
Sam Tobin-Hochstadt
9d53eab27d contracts for infer, and keyword argument for expected
svn: r11735
2008-09-13 23:00:24 +00:00
Sam Tobin-Hochstadt
4f5a412230 Merge in keywords branch and directory reorg.
svn: r11643
2008-09-11 14:07:10 +00:00
Sam Tobin-Hochstadt
c7b51cfd2d Add no-check language 2008-09-10 14:49:15 -04:00
Sam Tobin-Hochstadt
5ac64589ba reorg 2008-09-09 17:40:26 -04:00