Commit Graph

1304 Commits

Author SHA1 Message Date
Eric Dobson
2d152bac79 Added types and tests for raising and handling exceptions 2011-06-17 15:17:19 -04:00
Eric Dobson
4ba12dd20e Added types and tests for symbol operations 2011-06-17 15:17:19 -04:00
Eric Dobson
ab23db7b5b Added types and tests for string operations 2011-06-17 15:17:19 -04:00
Vincent St-Amour
26541ffbbd Unify types and filter behavior of not and false?. 2011-06-16 18:08:44 -04:00
Sam Tobin-Hochstadt
eaa156554a Add contracts for `Sequenceof' values. 2011-06-15 17:02:09 -04:00
Vincent St-Amour
e057e6a857 Optimize in typed regions. 2011-06-15 11:20:51 -04:00
Sam Tobin-Hochstadt
b76819a66e Wrap expected type. Closes PR 11980. 2011-06-14 19:05:16 -04:00
Vincent St-Amour
48bf6f8290 Make type annotations optional for for*/lists: and for*/fold:. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
3ff1a3320a Improve error message for untyped variables that don't come from the original program. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
7a4bd387cc Change examples to use prettier types. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
d43c8fc406 Tidy up TR reference. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
1cf57b893c Add note about optimizing structs to the TR docs. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
e3274a3cf7 Add missing word. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
52e14362b5 Split the TR reference into multiple pages. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
589f42feb1 Reorganize TR docs directory. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
b835e8a75b Add myself to the TR doc author list. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
a1787cede4 Document optionality of type annotations for the for: macros. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
2922821f3c Synthesize annotations for for/lists: if possible. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
f4973ff05e Remove obsolete comment. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
8c92a32cbb Fix bad name. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
a5bccaffe1 Allow omitting type annotation in most of the for: forms. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
506980240a Allow omitting type annotation on for/fold:. 2011-06-14 17:53:26 -04:00
Eric Dobson
c7f9a80de8 TR: Changed type of port->list 2011-06-10 17:22:14 -04:00
Vincent St-Amour
d732c12b96 Fix documentation of the for: macros. 2011-06-07 21:15:17 -04:00
Vincent St-Amour
7f55680028 Eta-expand typechecking of literals, to improve performance. 2011-06-07 21:15:17 -04:00
Eric Dobson
44d591b5ba Make sure type environment is only initialized once 2011-06-07 21:15:17 -04:00
Eric Dobson
157481ceda Added check to make sure that safe/unsafe flonumops are the same binding 2011-06-07 21:15:17 -04:00
Eric Dobson
88ce4e281c Base type environment now checks for duplicate types. 2011-06-07 21:15:17 -04:00
Eli Barzilay
40a88b6037 Fix TR docs wrt to `racket/function' change, close evaluators, fix
copy/paste typo in `thunk' docs.
2011-06-07 13:07:46 -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
bb71f9b66d Fix contract generation for Exact-Rational.
Closes PR11954.
2011-06-02 16:52:46 -04:00
Vincent St-Amour
6de5f48810 Optimize sqr on floats. 2011-06-02 16:49:25 -04:00
Vincent St-Amour
c7d2f13dd0 Preserve source location in the optimizer. 2011-05-24 16:53:53 -04:00
Vincent St-Amour
5352593bf1 Have TR optimize at the REPL. 2011-05-24 16:53:53 -04:00
Matthew Flatt
00e17ab51f adjust Guide to warn about performance measurement in DrRacket 2011-05-24 08:02:09 -06: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
b65054134a Fix TR documentation to use the new location of base env files. 2011-05-17 18:30:54 -04:00
Vincent St-Amour
bc4a7df94d Better solution to the toplevel printing bug. 2011-05-17 18:30:53 -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
Vincent St-Amour
8f6d3c7920 Avoid printing results of tests when eliminating if branches at the toplevel.
Closes PR 11928.
2011-05-17 17:47:21 -04:00
Vincent St-Amour
1ed0e84791 Move base environment files to their own subdirectory. 2011-05-17 15:16:18 -04:00
Sam Tobin-Hochstadt
c2291e049d Add types for some of `syntax/stx'
Add hacked types for `with-syntax' internals.
2011-05-16 14:55:17 -04:00
Vincent St-Amour
4cd0ad4b1a Coerce reals in float expressions when valid. 2011-05-16 11:44:35 -04:00
Sam Tobin-Hochstadt
e92af62ca0 Add contract generation for Set type. 2011-05-15 22:53:20 -04:00
Sam Tobin-Hochstadt
27aa3f7556 Add type for `error-display-handler' 2011-05-08 15:36:48 -04:00
Sam Tobin-Hochstadt
2f3e9fc655 Add types for `in-hash' etc. 2011-05-08 15:36:48 -04:00