Commit Graph

357 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
062008c758 type for append-map
svn: r14579
2009-04-21 22:51:55 +00:00
Sam Tobin-Hochstadt
1edd4770f4 remove debug printf
svn: r14578
2009-04-21 17:43:33 +00:00
Sam Tobin-Hochstadt
60325b670c Fix handling of filters that refer to out-of-scope vars
svn: r14574
2009-04-21 16:13:00 +00:00
Sam Tobin-Hochstadt
b1b5fe4816 Add test for match improvements.
Improve handling of inference for let loop.  

svn: r14573
2009-04-21 15:35:05 +00:00
Sam Tobin-Hochstadt
8918328e8a Infer on ((lambda
add types for matchable? and match-equality-test

svn: r14570
2009-04-20 22:41:37 +00:00
Sam Tobin-Hochstadt
929dc1d5b2 Fix polymorphic structure predicates.
svn: r14483
2009-04-10 00:07:11 +00:00
Sam Tobin-Hochstadt
69a3b7a70f Fix bug with structure keys and polymorphic structs.
Use `match*'
Add test

svn: r14482
2009-04-09 23:52:13 +00:00
Sam Tobin-Hochstadt
2332f2f50a document quote for more types
svn: r14480
2009-04-09 22:27:25 +00:00
Sam Tobin-Hochstadt
ac7e879360 Fix bug with match dots.
Fix handling of keywords.
Add keywords in call-with-input/output-port.

svn: r14469
2009-04-08 20:24:05 +00:00
Sam Tobin-Hochstadt
95988f86a2 Document typed-scheme/no-check
svn: r14465
2009-04-08 15:04:03 +00:00
Sam Tobin-Hochstadt
d57f1a68a4 Fix static struct info
svn: r14433
2009-04-06 06:18:06 +00:00
Eli Barzilay
c0a8a01222 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427
2009-04-05 17:46:20 +00:00
Sam Tobin-Hochstadt
2aab576237 Report more information for untyped imported identifiers
svn: r14418
2009-04-03 22:42:29 +00:00
Sam Tobin-Hochstadt
6d302a9304 Require that `require/typed' uses the contracted version of typed identifiers.
svn: r14415
2009-04-03 18:42:38 +00:00
Sam Tobin-Hochstadt
6d07cf9128 Fix subtyping, printing, inference for refinement types.
svn: r14403
2009-04-02 03:03:44 +00:00
Sam Tobin-Hochstadt
cd4305ca4f Add refinement types.
Add `parse-commmand-line'

svn: r14372
2009-03-31 03:33:04 +00:00
Stevie Strickland
99aac7d745 Sam and I did some work to allow automatic inferred linking in
(define-values/)invoke-unit/infer.

svn: r14315
2009-03-27 13:47:12 +00:00
Sam Tobin-Hochstadt
f48dbda950 add `remove-duplicates'
svn: r14278
2009-03-25 17:22:09 +00:00
Sam Tobin-Hochstadt
43443652b8 Add fake type name -Real
Add `scheme/math' types from Jos Koot.

svn: r14251
2009-03-24 17:49:15 +00:00
Sam Tobin-Hochstadt
60e096913d First step to polymorphic functions in typed/untyped interface
- poly/c contract from Carl/Stevie
- generate the contracts
- test
- use in typed/srfi/14

svn: r14241
2009-03-23 18:29:07 +00:00
Sam Tobin-Hochstadt
6108dc873c Types for `scheme/path', from Harsha.
svn: r14240
2009-03-23 17:25:57 +00:00
Sam Tobin-Hochstadt
bb2268b9be improve types for foldl, foldr
svn: r14228
2009-03-23 12:02:46 +00:00
Sam Tobin-Hochstadt
6d8014783b Use 'no-free-identifier=? property with rename transformers.
Allow use of ... without bound when only one ... var in scope.

svn: r14214
2009-03-22 12:41:26 +00:00
Sam Tobin-Hochstadt
0ed8d251bf Allow `apply' of non-uniform polymorphic functions to fixed-length list arguments.
Please backport.

svn: r14162
2009-03-17 21:18:50 +00:00
Sam Tobin-Hochstadt
fee4c1944d add new section about libraries in ts
svn: r14145
2009-03-17 12:43:20 +00:00
Sam Tobin-Hochstadt
6b5b193815 Fix docs for HashTable.
Add string->list, list->string, sort.

svn: r14138
2009-03-17 02:14:11 +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
Eli Barzilay
d10cdccca9 fix bitwise ops
svn: r13850
2009-02-26 14:04:39 +00:00
Ryan Culpepper
59727cc4bc stxclass: added and- and or-patterns, box and vector patterns
svn: r13721
2009-02-18 04:01:52 +00:00
Sam Tobin-Hochstadt
c7809e5838 Use stxclass for require/opaque-type
svn: r13682
2009-02-16 23:06:23 +00:00
Sam Tobin-Hochstadt
54d17355c3 Use stxclass for `require/typed'.
svn: r13658
2009-02-16 14:16:36 +00:00
Sam Tobin-Hochstadt
eba3b5d54d docs for provide:
svn: r13645
2009-02-16 02:29:33 +00:00
Sam Tobin-Hochstadt
3205875736 Add provide:
svn: r13643
2009-02-16 02:23:50 +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
bf1aaa9dcb add contract conversion for hashtables
svn: r13617
2009-02-15 21:55:03 +00:00
Sam Tobin-Hochstadt
ed83737d5f subtype caching
svn: r13615
2009-02-15 21:30:02 +00:00
Sam Tobin-Hochstadt
345abb820b Use stxclass for defintern.
Use stxclass for dt and de, and refactor/simplify.
Don't use the real union for unfolding mu types.
Add some descriptions to syntax classes for type parsing.

svn: r13597
2009-02-15 04:01:30 +00:00
Sam Tobin-Hochstadt
7830091d42 re-enable printing
svn: r13581
2009-02-14 20:48:26 +00:00
Sam Tobin-Hochstadt
e198478055 type keys now work, mostly
svn: r13580
2009-02-14 20:27:37 +00:00
Sam Tobin-Hochstadt
e13c4b690d new branch initial commit
svn: r13578
2009-02-14 16:03:25 +00:00
Ryan Culpepper
44efc7cb48 stxclass:
fixed scoping of attributes (wrt declare)
  added 'attribute' form
  added internal/external literals form

svn: r13574
2009-02-14 12:17:14 +00:00
Sam Tobin-Hochstadt
e61075a4fd Default types for lambda formals.
svn: r13539
2009-02-12 23:55:53 +00:00
Sam Tobin-Hochstadt
8802b83c0a typed-scheme
- use syntax classes for tc-literal
 - remove one-armed if
 - fix comments
 - use syntax classes for find-annotation
 - unit contracts for inference unit and typechecker unit
 - macro to enable/disable unit contracts
 - correct fold/free-var calculation for latent effects
 - documentation improvements
 - add bindings for additional special type forms
 - U and Un are the same binding, same with Tuple and List
 - fix types for integer?, exact-integer?
 - write not-yet-enabled syntax-class based type parser

svn: r13440
2009-02-04 23:39:38 +00:00
Sam Tobin-Hochstadt
9f77daab41 fix expr attribute
svn: r13438
2009-02-04 23:07:09 +00:00
Sam Tobin-Hochstadt
f867eea8c3 take out work on paths, now compiles
svn: r13431
2009-02-04 20:57:28 +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
4288ba636e fix the type of > and indent
svn: r13275
2009-01-24 21:13:15 +00:00
Ryan Culpepper
eb9fe4847f stxclass: created stxclass collection, with docs
svn: r13255
2009-01-22 05:50:55 +00:00