Vincent St-Amour
c9a96c1d2c
Added some closure and promotion type signatures.
2010-06-11 20:55:47 -04:00
Vincent St-Amour
aae1acf035
Fixed a bug in the optimizer that made it optimize where it
...
shouldn't have.
2010-06-11 20:53:10 -04:00
Vincent St-Amour
a4c556bc85
Made Typed Scheme's optimizer silent.
2010-06-11 20:53:09 -04:00
Vincent St-Amour
de0d9a27dc
Fixed string-copy!'s type signature.
2010-06-11 19:48:23 -04:00
Vincent St-Amour
96c541912c
Fixed a bug with eof and procedure types overlapping.
2010-06-11 19:48:22 -04:00
Sam Tobin-Hochstadt
1cff0a1f85
Actually typecheck actuals even when there's a type annotation.
2010-06-11 19:35:56 -04:00
Sam Tobin-Hochstadt
7ece2a4872
Fix type of `zero?' to properly handle 0.0.
2010-06-11 18:54:05 -04:00
Sam Tobin-Hochstadt
7c32898cb2
Print names using the name, ignoring aliases.
2010-06-11 17:48:37 -04:00
Sam Tobin-Hochstadt
fd1b20c93d
Fix optimizer for refactoring.
2010-06-11 14:21:42 -04:00
Sam Tobin-Hochstadt
4f2952f4b9
minor refactorings
2010-06-11 11:55:21 -04:00
Sam Tobin-Hochstadt
5f069ed4bb
Refactor #%module-begin and #%top-interaction for Typed Scheme.
2010-06-11 11:55:21 -04:00
Sam Tobin-Hochstadt
490361c0fc
Add types for a few more values.
2010-06-10 18:58:44 -04:00
Sam Tobin-Hochstadt
0379e534e3
New interface for unstable/mutated-vars
...
- functional hash tables
- fix clients
2010-06-10 13:28:29 -04:00
Sam Tobin-Hochstadt
0149a05719
Fix promise printing, add docs. Closes PR 10968.
2010-06-09 16:56:31 -04:00
Sam Tobin-Hochstadt
3151566125
Improve TS reference docs
...
- lots of examples
- reorganize type listing
- add Zero type
2010-06-09 15:44:46 -04:00
Vincent St-Amour
436e001b0e
Fixed the implementation of Channel types.
2010-06-09 15:28:10 -04:00
Vincent St-Amour
2fd1e3ac9f
Modified the numeric base type environment.
2010-06-09 14:54:39 -04:00
Vincent St-Amour
04e618388c
Added some Bytes and IO-related stuff to Typed Scheme.
2010-06-09 14:54:38 -04:00
Vincent St-Amour
6b4ca4d7b0
Added tests and documentation for Thread and Channel types.
2010-06-09 14:54:37 -04:00
Vincent St-Amour
15b0c8542d
Added the Thread type and related functions.
2010-06-09 14:54:36 -04:00
Vincent St-Amour
ec799fb208
Added Channel types.
2010-06-09 14:54:35 -04:00
Vincent St-Amour
0741b48c99
Modified the for: macros to use sequence types.
2010-06-09 14:54:34 -04:00
Sam Tobin-Hochstadt
30fe053f78
typed/racket/no-check
2010-06-09 12:51:27 -04:00
Sam Tobin-Hochstadt
ed5b10afd2
document `assert'
2010-06-09 12:20:39 -04:00
Sam Tobin-Hochstadt
78023d08f9
Sequenceof type.
...
- inferencing and subtyping relation with vectors, lists, etc
- use in `make-sequence'
- add tests
2010-06-09 11:03:12 -04:00
Sam Tobin-Hochstadt
78832fe332
Support case-lambda with multiple branches with keyword arguments.
2010-06-08 17:50:48 -04:00
Sam Tobin-Hochstadt
0f4db44be3
more precise type for `max'
2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
e44e454b94
Predicates for numeric comparisons.
2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
7f300a2c4f
Special-case (- x 1) for use in loops.
2010-06-08 12:05:56 -04:00
Sam Tobin-Hochstadt
7df8e32793
Properly handling immutable invariant structs.
2010-06-07 14:03:06 -04:00
Carl Eastlund
e7814b63a7
Renamed call/debug from unstable/debug to debugf.
2010-06-06 20:31:37 -04:00
Carl Eastlund
ddc889532e
Replaced unstable/debug with unstable/cce/debug.
2010-06-06 20:31:36 -04:00
Carl Eastlund
3a525b9a12
Replaced unstable/hash with unstable/cce/hash.
2010-06-06 20:30:48 -04:00
Carl Eastlund
e52fb81aac
Renamed bindings from unstable/hash and unstable/debug that will clash
...
with subsequent adaptation of (planet cce/scheme) to collects/unstable.
These bindings are temporary, and will be replaced in the adaptation.
2010-06-06 19:57:15 -04:00
Sam Tobin-Hochstadt
0199e11edd
Add require to base env to fix tests.
2010-06-02 11:26:48 -04:00
Matthew Flatt
4ebe2a0f52
try to fix Typed Racket after 'apply' changes
2010-06-01 21:25:54 -06:00
Vincent St-Amour
2229173b82
Changed the types of some numerical operations to be closed on naturals.
2010-05-29 11:31:47 -04:00
Sam Tobin-Hochstadt
d323a794e8
Change `typed-scheme' numerics.
...
- `number?' no longer `real?'
- Number no longer Real
- remove obsolete environments
- Fix tests to use Real where necessary.
- Fix typed/mred and typed/framework
- Fix insert-large-letters to use `sub1' for type-safe loop
Merge to 5.0.
2010-05-28 19:24:46 -04:00
Vincent St-Amour
046d95293a
Documented the for: macros.
2010-05-28 19:05:44 -04:00
Vincent St-Amour
e9a0014630
Disabled multi-valued seq-exprs in the for: macros because using them
...
triggers an internal error in the typechecker.
2010-05-28 19:05:44 -04:00
Vincent St-Amour
49caa00890
Added the for*/X: macros.
2010-05-28 19:05:43 -04:00
Vincent St-Amour
08baa400c3
Punted #:when clause expansion in the for: macros to their
...
non-annotated counterparts, except in the case of for: itself, where
it doesn't break the semantics of the underlying macro.
2010-05-28 19:05:43 -04:00
Vincent St-Amour
1ec6bd448b
Added the for/lists: and for/fold: macros.
2010-05-28 19:05:43 -04:00
Vincent St-Amour
3518428635
Better support for #:when clauses in the for: macros.
2010-05-28 19:05:42 -04:00
Sam Tobin-Hochstadt
8194bcc4d4
Guard type-equal? test.
2010-05-27 12:46:37 -04:00
Sam Tobin-Hochstadt
9701ae0065
Avoid requiring old base-types.
2010-05-27 10:56:18 -04:00
Sam Tobin-Hochstadt
bd0bcda85e
Simpler has-name? implementation.
2010-05-27 10:50:15 -04:00
Sam Tobin-Hochstadt
d4a8c52c71
Fix error message for multiple values.
2010-05-27 10:10:26 -04:00
Sam Tobin-Hochstadt
40c77586a0
Better type for `round'.
2010-05-27 10:10:26 -04:00
Vincent St-Amour
e3b994abff
Typed Scheme's optimizer now recognizes specialized (safe) float
...
operations.
2010-05-26 19:48:30 -04:00