Vincent St-Amour
f7be12d313
Typecheck pregexp literals correctly.
2011-07-22 16:22:36 -04:00
Eric Dobson
e07ce478af
Switched name field in struct type to identifier. Closes PR 11728.
...
Closes PR 11998. Closes PR11859.
2011-07-19 16:47:13 -04:00
Eli Barzilay
40124a0619
A long overdue scan to eliminate files without terminating newlines.
...
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Eric Dobson
8a67707353
Added types for security operations.
2011-06-24 20:10:37 -04:00
Eric Dobson
ce0f542028
Correctly recreate Scopes. Closes PR 10552. Closes PR 11532.
2011-06-24 16:46:43 -04:00
Eric Dobson
a913a1432d
TR: Added Thread Cells and corresponding operations
2011-06-22 15:16:55 -04:00
Vincent St-Amour
3b036388d6
Remove trailing whitespace.
2011-05-18 17:09:45 -04:00
Vincent St-Amour
a1fab6ec06
Give more meaningful names to conditional contract forms.
2011-05-18 17:09:45 -04:00
Vincent St-Amour
027947eef2
Use more descriptive variable names.
2011-05-18 17:09:45 -04:00
Vincent St-Amour
c02071b262
Reduce the number of hygiene violations in rep-utils.rkt.
...
Beginning of an attempt to make that file comprehensible.
2011-05-18 17:09:44 -04:00
Vincent St-Amour
632e36f751
Add set types to TR.
...
Original patch by Eric Dobson.
2011-04-28 18:22:39 -04:00
Vincent St-Amour
9740d5542b
No need for EphemeronTop since ephemerons are covariant.
...
Closes PR 11633.
2011-04-26 15:35:22 -04:00
Eric Dobson
80fa8d3c97
Beginning of ephemeron patch
2011-04-26 15:35:22 -04:00
Sam Tobin-Hochstadt
fe60793b4d
Add type keys for Struct and StructTop.
2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
51083dbce6
Remove useless requires.
2011-04-20 09:41:42 -04:00
Ryan Culpepper
73ab167522
created racket/syntax from parts of unstable/syntax
2011-04-07 09:47:20 -06:00
Vincent St-Amour
e56663c943
Add a predicate field to base types, which makes checking for
...
subtyping of value types easier.
However, this means that base types can't be marshaled as before,
since these predicates can't be marshaled. Instead, we now marshal
base types as identifiers that refer to their base type object.
2011-01-31 16:39:13 -05:00
Sam Tobin-Hochstadt
73dbf42e0e
Better handling of `hash-*' functions, and hashes as sequences.
2010-12-08 18:22:29 -05:00
Sam Tobin-Hochstadt
a45ce954d7
Remove outdated comment.
2010-10-07 10:18:06 -04:00
Sam Tobin-Hochstadt
d1835175d7
Fix for new ->i syntax.
2010-09-10 18:38:02 -04:00
Sam Tobin-Hochstadt
eea479b34a
Fix `hash-name' to avoid collisions.
2010-09-09 16:08:04 -04:00
Sam Tobin-Hochstadt
b6b840076b
Lots more laziness, and useless require removal.
2010-09-09 16:08:03 -04:00
Robby Findler
d419e8c12a
changed the ->d contracts to ->i contracts
2010-09-09 14:21:35 -05:00
Sam Tobin-Hochstadt
b08de170bc
Add Futureof' type, types for
future' and `touch'
2010-08-25 10:27:07 -04:00
Sam Tobin-Hochstadt
6e489f8464
Fix variance of hash tables and parameters
2010-08-13 11:06:56 -04:00
Ryan Culpepper
07f57aac9b
Added uses of unstable/struct
2010-07-13 12:07:47 -06:00
Robby Findler
41cfcbe862
rewrote an ->d contract so that it would work with a let*-style scoping
2010-07-10 10:01:25 -05:00
Sam Tobin-Hochstadt
a84796d8d7
add variance helper functions
2010-07-09 13:52:39 -04:00
Sam Tobin-Hochstadt
c6fb95d44d
add `make-constant'
2010-07-09 13:52:39 -04:00
Sam Tobin-Hochstadt
c01b239779
Refactor struct type representation.
...
- fields now represented by fld struct.
- mutability on per-field basis
- accessors are per field
This fixes lots of existing bugs, allows future #:mutable on fields.
2010-06-29 17:33:36 -04:00
Sam Tobin-Hochstadt
a33f460b25
recreate selector table automatically.
2010-06-24 16:48:10 -04:00
Sam Tobin-Hochstadt
3c8952d63d
Use the correct field numbers in substructs.
...
Maintain table of struct accessors/mutators.
2010-06-24 14:53:38 -04:00
Sam Tobin-Hochstadt
82e7d281cb
More progress on refactoring infer
2010-06-21 18:30:25 -04:00
Sam Tobin-Hochstadt
e8a591d291
Fix free index computation when the body refers to the bound.
2010-06-21 18:30:24 -04:00
Sam Tobin-Hochstadt
662f982b72
Refactor free variables.
...
- free-idxs no longer holds free de Bruijn indexes
This information is not needed, and not stored anywhere
- free-idxs holds free *index* variables, in the sense of the TOPLAS submission
2010-06-21 18:30:24 -04:00
Sam Tobin-Hochstadt
b787c7766c
Switch to using functional hash tables for free variables.
2010-06-21 18:30:23 -04:00
Sam Tobin-Hochstadt
0fb1ac66bd
Properly compute Dotted variance for ListDots and ValuesDots.
2010-06-21 18:29:58 -04:00
Sam Tobin-Hochstadt
40dbb6389c
First attempts at adding ListDots (and, incidentally, List*) types.
2010-06-21 18:29:55 -04:00
Sam Tobin-Hochstadt
02238a7c6d
Fix contract for structs
2010-06-17 15:26:13 -04:00
Vincent St-Amour
ec799fb208
Added Channel types.
2010-06-09 14:54:35 -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
fac0e197cf
Improve verbose printer.
...
- Fewer newlines.
- Avoid printing hidden fields.
2010-05-24 13:23:37 -07:00
Sam Tobin-Hochstadt
2c03f2223b
mostly done with heterogenous vectors
2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
6f7e88cfef
Descend into path elements.
2010-05-12 17:04:43 -04:00
Sam Tobin-Hochstadt
459a675b90
rename to rkt
2010-04-30 09:51:32 -04:00
Sam Tobin-Hochstadt
04f58cab86
Merge remote branch 'origin/master' into samth/new-logic2
...
Conflicts:
collects/drscheme/private/insert-large-letters.ss
collects/tests/typed-scheme/unit-tests/typecheck-tests.ss
2010-04-30 09:34:31 -04:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Sam Tobin-Hochstadt
826eeab7cb
fix the fold for Class types
2010-04-27 11:39:15 -04:00
Sam Tobin-Hochstadt
613f02a266
use the provide infrastructure for arr
2010-04-20 12:38:00 -04:00
Sam Tobin-Hochstadt
f57ef37a66
Everything now compiles without names
2010-04-19 18:42:25 -04:00