Commit Graph

313 Commits

Author SHA1 Message Date
Vincent St-Amour
93e2a74f09 Correctly parse Windows paths in Optimization Coach.
Closes PR12966.
2012-08-10 17:09:30 -04:00
Sam Tobin-Hochstadt
aa6ed4d736 Don't generate rest specification for ->* when not needed. 2012-08-10 11:00:02 -04:00
Eric Dobson
3876dfa841 Make generated flat contracts actually flat. 2012-08-10 10:39:44 -04:00
Vincent St-Amour
75efede59b Refactoring. 2012-08-07 16:33:31 -04:00
Vincent St-Amour
674c71103b Add :query-type/args.
Shows return type for a given function with given argument types.
2012-08-07 16:33:31 -04:00
Vincent St-Amour
d87339d414 :query-result-type -> :query-type/result
Result type is given, not asked for.
2012-08-07 16:31:52 -04:00
Vincent St-Amour
28c85dfd25 Add a separate "Exploring Types" section to the TR reference. 2012-08-07 16:31:52 -04:00
Vincent St-Amour
4b30d052b0 Allow multi-line printing of case-> types.
Currently only used in :print-type. Everywhere else, types are pruned.
2012-08-07 16:31:52 -04:00
Vincent St-Amour
34ee1d2603 Use type aliases when printing full types.
Reduces the printout size significantly.
2012-08-07 16:31:51 -04:00
Sam Tobin-Hochstadt
7eaae20f41 Add back some special cases. 2012-08-07 15:51:02 -04:00
Eric Dobson
21598297a7 Removed *Un from abbrev.rkt, replaced it with Un from union.rkt. 2012-08-07 15:50:50 -04:00
Eric Dobson
9ed360bb5e Removed convenience.rkt from typed racket. 2012-08-07 15:50:50 -04:00
Eric Dobson
56fd9e6321 Rearange type code, so that abbrev.rkt can depend on union.rkt.
Split out base-abbrev.rkt so that subtype is not dependent on abbrev.rkt.
Remove unused code in numeric-tower.rkt so that it is now a dependent of
abbrev.rkt, which allows the body of convenience.rkt to be merged back in.
Remove special casing for union.rkt and extraneous subtyping checks.
Remove union-maker.
2012-08-07 15:50:50 -04:00
Eric Dobson
6dbc054e41 Replaced references to abbrev.rkt with convenience.rkt.
Skipped this for subtype.rkt, because of a require loop caused by
lazy-require.
2012-08-07 15:50:50 -04:00
Eric Dobson
e6d4fb2ee2 Fill hole in recursive type soundness. Fixes PR 11372. 2012-08-06 12:31:07 -04:00
Eric Dobson
9f453676d1 Add support for creating contracts of heterogenous vectors 2012-08-06 12:31:07 -04:00
Eric Dobson
f090698542 Fix type of integer-sqrt and add type for integer-sqrt/remainder. 2012-08-06 12:31:07 -04:00
Vincent St-Amour
aba046a92d Swap unsafe and chaperone-unsafe vector ops in the TR optimizer.
Closes PR12969.
2012-08-04 10:32:21 -04:00
Vincent St-Amour
ebd2e35600 Remove accidentally added file. 2012-08-03 14:41:21 -04:00
Vincent St-Amour
1215fb6cec Remove invalid singleton return types.
NaN doesn't inhabit these types, but can be produced there.
2012-08-03 14:21:44 -04:00
Vincent St-Amour
a6d5a98b61 Include NaN in all floating-point types.
Makes more closure properties hold, but weakens occurrence typing for
some comparisons involving flonums.
2012-08-03 14:21:44 -04:00
Vincent St-Amour
b1fbbafd91 Fix type of rational?. 2012-08-03 14:21:44 -04:00
Vincent St-Amour
800a328fe6 Fix documentation for packages and mutable lists.
As suggested by Matthew.
2012-07-31 17:12:30 -04:00
Vincent St-Amour
cc8a9b5ed7 Fix type for dynamic-place. 2012-07-31 17:12:30 -04:00
Vincent St-Amour
dd02f5eeda Fix parametric require/typed in typed/racket/base.
Closes PR12951.

Please merge to release.
2012-07-29 09:02:58 -04:00
Vincent St-Amour
52439d528b Move mutable list functions to the compatibility collect.
Mutable pair functions from racket/base are not moved.
2012-07-27 16:49:05 -04:00
Vincent St-Amour
8bceeadaab Refactoring. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
f50d64b3b2 Fix tab leak. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
144fd5bf05 Refactoring. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
406529c391 Close OC properly from the menu. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
dc6a81ad02 Refactoring. 2012-07-25 16:32:52 -04:00
Vincent St-Amour
57568ae44c Cleanup. 2012-07-25 16:32:51 -04:00
Vincent St-Amour
0bb133ea51 Move panel to the frame mixin instead of the tab mixin. 2012-07-25 16:32:51 -04:00
Vincent St-Amour
b2ce93ca94 Fix Optimization Coach menu entry point. 2012-07-25 16:32:51 -04:00
Vincent St-Amour
d9f97d079f Refactoring. 2012-07-25 16:32:51 -04:00
Vincent St-Amour
74a6518920 Refactoring. 2012-07-24 17:02:46 -04:00
Vincent St-Amour
b3e619e5ee Have OC work on a copy of the definitions window. 2012-07-24 16:56:23 -04:00
Vincent St-Amour
b1577bd307 Fix type for add-between. 2012-07-24 16:41:52 -04:00
Vincent St-Amour
7ba7be1873 Show running man animation when OC is working. 2012-07-24 16:05:59 -04:00
Vincent St-Amour
f2ff88be4a Add Optimization Coach right-click menu entry to existing menu. 2012-07-24 13:48:05 -04:00
Vincent St-Amour
73942fcfa8 Wrap highlighting in an edit sequence.
Speeds up display.
2012-07-24 13:48:05 -04:00
Vincent St-Amour
70f8f4d743 Avoid recreating panel and check-boxes when optimization coach is shown. 2012-07-24 13:48:05 -04:00
Vincent St-Amour
cfc8fe5766 Fix spacing issue. 2012-07-24 13:48:05 -04:00
Robby Findler
df4508573a adjust the interface reference in drracket for the new view menu 2012-07-21 11:34:13 -05:00
Vincent St-Amour
848a28266c Replace fields with local-member-name accessors. 2012-07-20 18:05:34 -04:00
Vincent St-Amour
95e117b7f5 Typo. 2012-07-20 18:05:34 -04:00
Vincent St-Amour
c237cee025 Rename undo-thunks to clear-thunks.
They don't have anything to do with editors' undo.
2012-07-20 18:05:34 -04:00
Vincent St-Amour
eda3e70670 Use local member names for Optimization Coach public methods. 2012-07-20 18:05:34 -04:00
Vincent St-Amour
fceb3db69c Refactoring. 2012-07-20 18:05:33 -04:00
Vincent St-Amour
6af2e49db3 Delete trailing whitespace. 2012-07-20 18:05:33 -04:00