Commit Graph

253 Commits

Author SHA1 Message Date
Vincent St-Amour
5d4e5ed393 Break long lines. 2011-08-03 17:39:16 -04:00
Vincent St-Amour
1a661256f8 Abstract printing of function types. 2011-08-03 17:39:14 -04:00
Vincent St-Amour
27cd6aca6f Use set coverage for union printing. 2011-07-22 16:22:36 -04:00
Vincent St-Amour
10e79ba2ec Clean up printing of unions that involve numeric types. 2011-07-22 11:41:27 -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
Eric Dobson
f5e24ba163 Working on improving contracts in TR. 2011-07-14 17:06:51 -04:00
Vincent St-Amour
cf04739f93 Fix unsafe multiplication. 2011-07-13 12:52:47 -04:00
Vincent St-Amour
e5314f945e Make index? faster. 2011-07-13 12:07:56 -04:00
Vincent St-Amour
43efe6adf0 Remove trailing whitespace. 2011-06-30 14:01:47 -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
0f0b9ebc7a TR: Added tests for new identifiers and export type names. 2011-06-24 20:10:37 -04:00
Eric Dobson
b88d85f79a Added types for many miscellaneous operations.
Including Places, Wills, Semaphores, Psuedo-Random-Generators,
Byte-Converters, Loggers, Promises and Structure-Type-Properties.
2011-06-24 20:10:37 -04:00
Eric Dobson
41e23fee69 Add types for evaluation and compilation operations. 2011-06-24 20:10:37 -04:00
Eric Dobson
8a67707353 Added types for security operations. 2011-06-24 20:10:37 -04:00
Eric Dobson
20ed3b8096 Added types for subprocess operations. 2011-06-24 20:10:37 -04:00
Eric Dobson
4241557543 Change Module-Path to be union type instead of a Base type. Closes PR 11963. 2011-06-23 10:05:36 -04:00
Eric Dobson
c2a473cba2 Added tests for parameterizations and thread cells. 2011-06-22 15:17:57 -04:00
Eric Dobson
dedd42a9dd Fixed and cleaned up some types. 2011-06-22 15:17:57 -04:00
Eric Dobson
7803aed77b Added types for tcp and udp operations. 2011-06-22 15:17:57 -04:00
Eric Dobson
85b19e9fee Added types for syntax operations. 2011-06-22 15:16:56 -04:00
Eric Dobson
4f898865fd Added types for namespace and variable reference operations. 2011-06-22 15:16:55 -04:00
Eric Dobson
469f0a5314 Added types for parameters and parameterization operations. 2011-06-22 15:16:55 -04:00
Eric Dobson
a913a1432d TR: Added Thread Cells and corresponding operations 2011-06-22 15:16:55 -04:00
Eric Dobson
bdf0d13970 Added types for thread operations. Added Custodian type. 2011-06-22 15:16:55 -04:00
Vincent St-Amour
32d80f4c01 Remove duplicate require. 2011-06-22 14:43:42 -04:00
Eric Dobson
1348887bd1 Cleaned up base-env. Added comments about untyped identifiers.
Used one-of/c to clean up some types.
2011-06-17 15:17:20 -04:00
Eric Dobson
029651b9ee Added types for regexp operations. Changed Regexp to correspond to regexp?. 2011-06-17 15:17:19 -04:00
Eric Dobson
6f3bbad367 Added types for I/O operations 2011-06-17 15:17:19 -04:00
Eric Dobson
c77e906c7a Added types and tests for equality operations. 2011-06-17 15:17:19 -04:00
Eric Dobson
2d152bac79 Added types and tests for raising and handling exceptions 2011-06-17 15:17:19 -04:00
Vincent St-Amour
7f55680028 Eta-expand typechecking of literals, to improve performance. 2011-06-07 21:15:17 -04:00
Eli Barzilay
2eb0a94677 Removed a bogus provide and two bogus tests.
(Which worked because the same functionality is part of `racket'.)
2011-06-07 03:38:06 -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
Eric Dobson
9a65545814 Path manipulation now works with SomeSystemPath correctly. 2011-05-17 18:03:48 -04:00
Eric Dobson
05af2b9e17 Split Path type into Path and OtherSystemPath. 2011-05-17 18:03:48 -04:00
Eric Dobson
e9683e1dd2 Changed early failure in subtyping to all non-struct values, not just null. Closes PR 11887. 2011-05-06 11:39:01 -04:00
Vincent St-Amour
d7fd2b2e3f Add extra early failure cases to subtype* to avoid inference failures. 2011-05-05 18:54:12 -04:00
Sam Tobin-Hochstadt
31aa47f136 Fix a couple typos found by mflatt and the optimzer. 2011-04-30 19:49:00 -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
82e6e9d19e Avoid resolving types when checking subtyping on structs.
This fixes problems with caching, because sometimes we were giving the wrong answer for nested calls to `subtype'.
2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
d459ad47b8 Use `in-hash' explicitly. 2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
6c17b01f99 Add clever comments. 2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
79061150ef Add cache for `resolve-once'.
Substantial speedups on "new-metrics.rkt" test.
2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
0f30f5d8de Use eq? on sequence numbers. 2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
51083dbce6 Remove useless requires. 2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
7ba2b6e100 Fix typo. 2011-04-20 09:41:42 -04:00
Sam Tobin-Hochstadt
0f5dfd6871 Remove useless propositional clauses. Thanks to dyoo for test case. 2011-04-18 18:42:10 -04:00