Sam Tobin-Hochstadt
68ba63ce4d
Better handling of unsafe identifier generation.
...
original commit: 3078807757448b9223bcd58cfa10d7b30db4ddee
2010-06-24 11:05:55 -04:00
Vincent St-Amour
1d48090ecb
Added support for unsafe struct operations to Typed Scheme.
...
original commit: 7d1040283ed325c93fb5499649a0aba5cfadfab7
2010-06-22 18:42:25 -04:00
Vincent St-Amour
9cbdbd8ed7
Added support for unsafe operations on heterogenous vectors.
...
original commit: 379d9a21251696293a997aa1c58611b85b41b6ce
2010-06-22 18:29:57 -04:00
Vincent St-Amour
8dc90d067b
Moved the types for some byte string operations to
...
base-env-indexing-abs.rkt.
original commit: eea31102b015d77ee989dfb0951729b3f1bfa313
2010-06-22 18:29:57 -04:00
Vincent St-Amour
1cf790fc86
Fixed the types of flvector operations.
...
original commit: 192c1fa995f44163d42e46f2466bdd05e74a98a8
2010-06-22 18:29:56 -04:00
Vincent St-Amour
0f27106fdd
Made make-vector's type more convenient.
...
original commit: 61545c4e75795adbdd951ed94fb6274a1a7b9709
2010-06-22 18:29:56 -04:00
Sam Tobin-Hochstadt
8869cd4d22
Add `struct:'
...
original commit: 6e1954d79b520fefd21abe81d06fe615e056ac93
2010-06-22 16:29:35 -04:00
Sam Tobin-Hochstadt
1e98e1c1fd
Add index-env.
...
- Remove Dotted and DottedBoth values from tvar-env
- Abstract env extension and lookup for tvar/index-env
- Abstract index inference
- Remove pointless parameterizations
original commit: d570006db81dda68e69b7058fd3edfb68cc3d042
2010-06-21 18:29:58 -04:00
Sam Tobin-Hochstadt
54a57ab177
First attempts at adding ListDots (and, incidentally, List*) types.
...
original commit: 40dbb6389cd22c6f6dff42a20bdf23e32b2ba0d2
2010-06-21 18:29:55 -04:00
Sam Tobin-Hochstadt
021e1146cb
More environment refactoring.
...
- rationalize naming of files
- split files by env constructed
original commit: 50f93b9ed7abeb1d4e687078cb5fef6976d008aa
2010-06-21 18:29:55 -04:00
Sam Tobin-Hochstadt
f581c7796d
Refactor environments.
...
- mapping stored as dict
- use id tables for identifiers
- use env-filter instead of filter
- eliminate spurious use of conses
original commit: 647c4eef5940fde0395f9a19496244acab5f62b2
2010-06-21 18:29:54 -04:00
Vincent St-Amour
cfce17b8d1
Fix to make-vector's type.
...
original commit: 1e2c50ec242c130df1a02e7bee6734d2806f8aa7
2010-06-18 20:24:17 -04:00
Vincent St-Amour
034e27a280
The optimizer now promotes integers to floats when they are used as
...
arguments to a function whose result is a float.
original commit: 5e901b9ef28a9d48f41fb05e7e4be57b34897180
2010-06-18 17:43:05 -04:00
Vincent St-Amour
af2fa50318
Added type signatures for some byte-string functions.
...
original commit: ecb614849c30cc437b2cb7004321bc9e88fba8fa
2010-06-18 17:43:03 -04:00
Vincent St-Amour
ec41142ab4
Turned indexing back to using integers rather than naturals.
...
original commit: 60c3067ddb9b187855c81eabd6c5e89d74ebcbff
2010-06-18 17:43:02 -04:00
Vincent St-Amour
361fee5e59
Fixed the type of unsafe-car and unsafe-cdr.
...
original commit: b39f686e7eb67a6d3dac96fcc94cc2480aa083f2
2010-06-17 19:06:24 -04:00
Vincent St-Amour
55a3f63554
Added types for some bitwise operations.
...
original commit: 07c1f1e94f05cbbecd6d7606d725c0217f1d4a33
2010-06-17 19:06:24 -04:00
Vincent St-Amour
f14d2fd415
Added types for thread mailbox operations.
...
Can't have typed mailboxes, though.
original commit: cc796a9f9a1e0284dfd21328323cbedce416870c
2010-06-17 18:45:28 -04:00
Vincent St-Amour
b67fd7f9f1
Got rid of a reference to the non-existent channel/c.
...
original commit: c4e035dd67d44da53fb17003ad8342ed5fbdf6dd
2010-06-17 18:45:28 -04:00
Sam Tobin-Hochstadt
6b89ef5f82
base-types-new -> base-types
...
original commit: 77e4bbb5eb5e568db8478d0e102b1a0f6ece50f9
2010-06-17 11:47:16 -04:00
Vincent St-Amour
9eb47ff1a0
Added mutable lists to Typed Scheme.
...
original commit: a31a7b07187573b9f0d9b8b7b9fcaa21bbb50b8f
2010-06-16 12:49:01 -04:00
Vincent St-Amour
3900201b88
Rewrote the indexing code.
...
original commit: bb0747f58925c574964234c22bb4ba1d07864e23
2010-06-16 12:49:00 -04:00
Vincent St-Amour
e45bc88bfb
Moved some indexing functions' type signatures.
...
original commit: 9959f050542aba1faee00202ce5b6b1f3cbf07cc
2010-06-16 12:48:59 -04:00
Vincent St-Amour
e6d4962b46
Reimplemented assert as a macro.
...
original commit: 8dfd7d87ecd5d167514f8c7c5468448c6ad86547
2010-06-15 16:39:33 -04:00
Sam Tobin-Hochstadt
eed1167639
set-mc[ad]r!, inference, printing, tests for mpairs
...
original commit: 4cc86cc8c808d375f10c2c1fa2e4b54b126a26da
2010-06-15 16:10:16 -04:00
Sam Tobin-Hochstadt
4ed047109d
types for basic mpair ops
...
original commit: 913179f2ed6e601e795e07f79e2e38399626ad1e
2010-06-15 15:58:37 -04:00
Sam Tobin-Hochstadt
8ddbeba6e3
fix types of `read' functions
...
original commit: b644ec7be4c77e5b0ac8c66a1bc10283856447a9
2010-06-14 17:35:05 -04:00
Sam Tobin-Hochstadt
3c594198ce
Type for `curry'.
...
Closes PR 10956
original commit: 81f262c7caf0954f7efebebc6d10bef6c93972bd
2010-06-14 08:24:43 -04:00
Sam Tobin-Hochstadt
b4d568a84d
Generate -> instead of ->* when required by case->.
...
Closes PR 10977.
original commit: cf5c74a2ca36a951d7cbeac61e58235f493291dd
2010-06-13 15:01:57 -04:00
Sam Tobin-Hochstadt
ae851e41cd
Allow (All (A) A -> A), dropping pair of parens.
...
original commit: d4d286d31dce759129c372c9e42bfb37300bf167
2010-06-13 14:38:03 -04:00
Sam Tobin-Hochstadt
3f3e732ac3
add \rightarrow as alias for ->
...
original commit: 408d9adb5abaed3f3684e045b62225c13db01a9d
2010-06-13 14:35:05 -04:00
Eric Dobson
fc607e7696
Added some stuff to typed scheme, mostly port and character functions.
...
original commit: 90f015408cb021a258a0c25b3eb62f589fae33f3
2010-06-13 08:20:49 -04:00
Vincent St-Amour
833693035f
Added some closure and promotion type signatures.
...
original commit: c9a96c1d2c49e87ebbc26e837edf563b359f8c57
2010-06-11 20:55:47 -04:00
Vincent St-Amour
0289d63af2
Fixed a bug in the optimizer that made it optimize where it
...
shouldn't have.
original commit: aae1acf035fb548067aef1dc3a9203a19ee76b90
2010-06-11 20:53:10 -04:00
Vincent St-Amour
450f6f98e2
Fixed string-copy!'s type signature.
...
original commit: de0d9a27dc83c261a166d00cb6cfbefda7a70de3
2010-06-11 19:48:23 -04:00
Sam Tobin-Hochstadt
79fe558827
Fix type of `zero?' to properly handle 0.0.
...
original commit: 7ece2a4872bfd02d7b62b39c040e877c7ba638ee
2010-06-11 18:54:05 -04:00
Sam Tobin-Hochstadt
d1bbefe5bf
minor refactorings
...
original commit: 4f2952f4b9c69c6e77d64511b8a39f9729039778
2010-06-11 11:55:21 -04:00
Sam Tobin-Hochstadt
dd84cab0b2
Add types for a few more values.
...
original commit: 490361c0fc3a94187083ea45132c5d9470b1df7a
2010-06-10 18:58:44 -04:00
Sam Tobin-Hochstadt
5b0fec235c
Improve TS reference docs
...
- lots of examples
- reorganize type listing
- add Zero type
original commit: 315156612505bb7f666da0b1eacdbe6dce1705aa
2010-06-09 15:44:46 -04:00
Vincent St-Amour
feaef17915
Modified the numeric base type environment.
...
original commit: 2fd1e3ac9ffc0b939cceac0e7ded9093d5e7a9a8
2010-06-09 14:54:39 -04:00
Vincent St-Amour
aacdee78b9
Added some Bytes and IO-related stuff to Typed Scheme.
...
original commit: 04e618388c53c32a80b9be89402fec685bbb783d
2010-06-09 14:54:38 -04:00
Vincent St-Amour
d5c72476e8
Added the Thread type and related functions.
...
original commit: 15b0c8542d3a54a37539608623754109f96b4d3e
2010-06-09 14:54:36 -04:00
Vincent St-Amour
ce236fdf46
Added Channel types.
...
original commit: ec799fb208197df8b2f4cafc0b0af3aad423871a
2010-06-09 14:54:35 -04:00
Vincent St-Amour
e0219a6f8f
Modified the for: macros to use sequence types.
...
original commit: 0741b48c99e190a31365c2fe2f2cd927d9561bb2
2010-06-09 14:54:34 -04:00
Sam Tobin-Hochstadt
e16c33e1a6
Sequenceof type.
...
- inferencing and subtyping relation with vectors, lists, etc
- use in `make-sequence'
- add tests
original commit: 78023d08f99bd423a17e532b6ff9b1ded758b658
2010-06-09 11:03:12 -04:00
Sam Tobin-Hochstadt
2ddda6b00a
Support case-lambda with multiple branches with keyword arguments.
...
original commit: 78832fe332fccfe7c533243c4e1f1c1d0e3753e4
2010-06-08 17:50:48 -04:00
Sam Tobin-Hochstadt
f315f666d5
more precise type for `max'
...
original commit: 0f4db44be3cbc42e0546b7b61ad1b18156cf6607
2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
36854b7150
Predicates for numeric comparisons.
...
original commit: e44e454b9478e40f6cf00481bf23de27f2ee5b45
2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
420d38ec9c
Add require to base env to fix tests.
...
original commit: 0199e11edd314c0c7270a0875065799ccf1c64a3
2010-06-02 11:26:48 -04:00
Matthew Flatt
80e25e5cb0
try to fix Typed Racket after 'apply' changes
...
original commit: 4ebe2a0f52e23085b719752437cdededf45975f6
2010-06-01 21:25:54 -06:00