Commit Graph

35 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
c55cceed8c Two types definitely overlap if they are equal.
Fixes infinite loop in Whalesong compilation.
2011-09-16 17:20:31 -04:00
Sam Tobin-Hochstadt
2570fae481 Minor comment formatting. 2011-09-16 17:20:31 -04:00
Eric Dobson
1f3d68e55e Added comments to explain TR's type on subprocess and friends. 2011-09-16 17:20:31 -04:00
Eric Dobson
7fcf28bef2 Gave subprocess and similar functions more precise types. 2011-09-16 17:20:31 -04:00
Eli Barzilay
623c7493ed Some selective #:when (not ...)' -> #:unless ...'. 2011-09-16 10:48:18 -04:00
Vincent St-Amour
297cecebcc Fix type of random to accept any Integer. 2011-09-13 15:42:04 -04:00
Vincent St-Amour
7e9e500818 Fix case-lambda type printing.
Closes PR 12188.
2011-09-13 15:42:04 -04:00
Vincent St-Amour
3c3e5902e5 Switch to square brackets for REPL type display. 2011-09-13 15:42:04 -04:00
Vincent St-Amour
68d58f7d2a Generalize types shown at the REPL, to keep types simple. 2011-09-13 15:42:04 -04:00
Vincent St-Amour
8ae1a903fa Compare numeric unions using a linear scan. 2011-09-13 11:22:24 -04:00
Vincent St-Amour
c63b5873e3 Optimize subtyping of numeric types. 2011-09-13 11:22:24 -04:00
Vincent St-Amour
40456b4fd8 Add a field to base types to indicate if they are numeric types or not. 2011-09-13 11:22:24 -04:00
Vincent St-Amour
32b56eb2fa Fix whitespace. 2011-09-13 11:22:24 -04:00
Sam Tobin-Hochstadt
b91880b05a random' always produces Float'. 2011-09-12 16:31:00 -04:00
Sam Tobin-Hochstadt
f9b0f0ce73 Move environment initialization after local expansion in Typed Racket.
This means that syntax errors caught by `local-expand' are reported sooner, but shouldn't change other timing results.
2011-09-12 11:52:26 -04:00
Sam Tobin-Hochstadt
ce45c12b67 Make the type of `syntax-local-module-defined-identifiers' more precise. 2011-09-12 11:52:25 -04:00
lvilnis
80ece9023a Fixed a bug where predicates would sometimes fail to match 0.0 2011-09-09 12:10:58 -04:00
Vincent St-Amour
7e9bf9361d Make Performance Report highlighting high priority. 2011-09-08 18:01:16 -04:00
Vincent St-Amour
bb62ca4c2b Fix Performance Report message in the absence of irritants. 2011-09-08 18:01:15 -04:00
Matthew Flatt
d3c56c9f13 generalized `begin-for-syntax' 2011-09-08 14:06:00 -06:00
Eric Dobson
c62f09ac5b Fixed subtyping for StructTop. Closes PR11099. 2011-09-07 09:17:04 -04:00
Eric Dobson
32becc2e0a Change overlap for structs in TR. Closes PR11390. 2011-09-07 09:17:04 -04:00
Eric Dobson
53ce20d3f9 Resolve names in overlap in TR. Closes PR11392. 2011-09-07 09:17:03 -04:00
Vincent St-Amour
c893502857 Forge identifiers instead of dumpster-diving. 2011-09-06 16:35:15 -04:00
Sam Tobin-Hochstadt
64a1aee65d Whitespace fixes, small optimizations of union cases. 2011-09-06 11:14:57 -04:00
Sam Tobin-Hochstadt
076c0fe6d8 Switch to id-table, Rackety. 2011-09-06 11:07:03 -04:00
Sam Tobin-Hochstadt
41bfb878c3 Add logging to typechecker main loop. 2011-09-06 11:07:03 -04:00
Sam Tobin-Hochstadt
c25f7cea27 Micro-optimization. 2011-09-06 11:07:03 -04:00
Eli Barzilay
6ebf3ab32d Revert "Abolish "typed-scheme"."
This reverts commit 49a89da818.

(Will be redone later today.)
2011-09-04 10:27:58 -04:00
Eli Barzilay
49a89da818 Abolish "typed-scheme". 2011-09-04 08:46:03 -04:00
Sam Tobin-Hochstadt
09f515dff4 Add type for `make-reader-graph'. 2011-09-04 08:34:19 -04:00
Sam Tobin-Hochstadt
1a35809ee6 Document `Nonnegative-Integer'. 2011-09-04 08:33:44 -04:00
Sam Tobin-Hochstadt
ff1776e522 Revert "Re-enable timing"
This reverts commit a134ec73ed.
2011-09-03 20:51:35 -04:00
Sam Tobin-Hochstadt
a134ec73ed Re-enable timing 2011-09-03 20:49:40 -04:00
Sam Tobin-Hochstadt
d2e1cc02dc Move typed-scheme to typed-racket collection.
Compatibilty typed-scheme collection left.
2011-09-03 20:49:39 -04:00