Vincent St-Amour
f8526e3870
Add an extra test for partial bounds checking elimination.
...
original commit: 2e6b518c952d1994bde10086de403a7e48d8a094
2011-07-06 18:09:35 -04:00
Vincent St-Amour
6779719a18
Do partial bounds checking elimination for flvector operations.
...
original commit: a7459c5ee7f6ed135dc5a26e3e2788365326530d
2011-07-06 18:09:31 -04:00
Vincent St-Amour
3f2a0df532
Recognize multiple argument types for flvector accessors.
...
With only Integer possible as type for the index argument, Integer was
used as expected type, and any information we had about the argument
(sign, range, etc.) was lost.
original commit: 7debd466211150c58f6554dde95521ad75fc86b5
2011-07-06 18:09:31 -04:00
Vincent St-Amour
7761a92cca
Move flvector types with other indexing functions.
...
original commit: d75d6c7ee4e0cabee27689353041387a1512ed48
2011-07-06 18:09:30 -04:00
Vincent St-Amour
9e995978e1
Do the impersonator? check up front.
...
original commit: 60f3074ccd6b2d399765c3254180afe1bcf2830d
2011-07-06 18:09:30 -04:00
Vincent St-Amour
30792214ae
First stab at optimizing bounds checking.
...
original commit: 979545a90ff3ca5cb730780a7a5699bb361eea48
2011-07-06 18:09:29 -04:00
Eric Dobson
9830474a58
Changed TR test to use struct with struct info instead of HTDP struct.
...
original commit: b25ee81d790ac3d8388cbe80bb708b6b5841d83f
2011-07-05 11:25:11 -04:00
Eric Dobson
9e1e05efad
Correctly require/typed structs with parents. Closes PR11509.
...
original commit: 805e1fb309487ba8903b84e27b575fea485b8748
2011-07-05 11:25:10 -04:00
Eric Dobson
ad93c3fbfc
Provides better error message for PR 11889.
...
original commit: a9655c04dd8cd150f283a5755a89b47dcd505d62
2011-07-05 11:25:10 -04:00
Eric Dobson
f357d4c0ce
Fix typechecking of call-with-values. Closes PR11709.
...
original commit: 0b761781380ba23a6e363798ad39049a8d4e6eb6
2011-07-05 11:25:10 -04:00
Eric Dobson
1c0f8a6df8
Add types for kernel struct constructors.
...
original commit: 046d4769704809840c3850b501ec378cdbcdf7e7
2011-07-05 11:25:10 -04:00
Eli Barzilay
f07f04b81d
".ss" -> ".rkt" scan done.
...
original commit: 3157955d40f89d83fb3d5fa7a2f20639cda69579
2011-07-02 10:37:53 -04:00
Ryan Culpepper
65499a3107
docs reorganization
...
added tutorial, racket categories
relabeled some other categories
normalized manual names: de-bolded, changed some names
original commit: 1b702a2ae32aba835f7467ced6b203902db0ccd9
2011-07-01 17:16:53 -06:00
Vincent St-Amour
c891702954
Have letrec build unions in canonical form.
...
original commit: 27d7ad1e87da6007a4a1123941114802a74615c3
2011-07-01 16:06:15 -04:00
Eric Dobson
27265fe60e
Don't export required bindings with all-defined-out and require/typed.
...
Closes PR11425.
original commit: 44396383088e8bcebd33f6ee92013c6ae9751685
2011-07-01 16:06:15 -04:00
Stevie Strickland
3d15ead6b5
Use fold-left instead of map for an example of a nonuniform vararg function.
...
Fixes PR12014.
original commit: 4f761ddb2f44f4cd4961984c8c2cb65fa39f71ae
2011-07-01 12:00:35 -04:00
Vincent St-Amour
8a0e9249ff
Add a test case for struct-based match expanders.
...
Closes PR11617.
Using the taint system, the bug is fixed.
original commit: cd34760a3307839ef6bf08dce25a71fb87f41c97
2011-06-30 14:21:52 -04:00
Eric Dobson
45314ee84b
Changed order type annotations are processed. Closes PR 11560.
...
original commit: e3c4955ac9f7fb10f1281bc93bd08fe594bc728d
2011-06-30 14:01:47 -04:00
Vincent St-Amour
0fa93ae065
Remove trailing whitespace.
...
original commit: 43efe6adf01c5ee7f7b63eebd46c85ce38eff97b
2011-06-30 14:01:47 -04:00
Eric Dobson
e8448f596c
Changed order of imports in require/typed to order written.
...
Closes PR11193.
original commit: b5e451575208e242631b25e85ffef35112903d0d
2011-06-30 14:01:47 -04:00
Eric Dobson
b5c5ad7258
Changed define-predicate to use recursive-contract. Closes PR 10939.
...
Closes PR11504.
original commit: 76a1112df03083098dc5aaff951d9e768e5af1b6
2011-06-30 14:01:47 -04:00
Matthew Flatt
5fb4f1af3a
remove syntax certificates; add syntax taints
...
original commit: 1160d3df629ce65eb8fe9ebea2c33b8d4000ea50
2011-06-29 19:15:48 -06:00
Eric Dobson
c8c1cdc655
Make TR provided struc-infos act like constructors. Closes PR11578.
...
Closes PR11866.
original commit: d0cfebd5b464076bbfa136861ffbaaae2d400620
2011-06-29 17:38:05 -04:00
Eric Dobson
65638b0d8b
Cleaned up define-struct: and struct:.
...
original commit: 9721409b3994697444078d228c3208af7f484ee2
2011-06-29 17:38:05 -04:00
Eric Dobson
00e5ce0357
Added legacy support for require/typed and require-typed-struct.
...
Added FIXME for duplicated code.
original commit: e87ff268c2b8e19904c396640598ca00df475158
2011-06-29 17:38:05 -04:00
Eric Dobson
c3ca0bbda9
Cleaned up define-typed-struct-internal and require/typed.
...
Also fixed a test for require/typed.
original commit: ecaf5f40a0220b06fdf747e3baefe6d05ae69cf0
2011-06-29 17:38:05 -04:00
Eric Dobson
a5d5be4f95
Added support for configurable constructor names in require/typed.
...
Closes PR11171. Closes PR11194. Closes PR11314.
original commit: f3692eae29d7b0582eb90cc4768786688b8ca438
2011-06-29 17:38:05 -04:00
Eli Barzilay
52bad5959a
A long overdue scan to eliminate files without terminating newlines.
...
(DrRacket should really do that.)
original commit: 40124a0619da5e187d95aeb1dde237f05d6f9c6b
2011-06-28 02:01:41 -04:00
Eric Dobson
56e83287e8
Make vector-immutable work like vector. Closes PR 11535.
...
original commit: a14723f27a61ce262b0024db1777fa2db7f94c8b
2011-06-27 11:35:48 -04:00
Eli Barzilay
1303c1ff46
A ton of @scheme*' ->
@racket*' and related updates.
...
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
original commit: ac26fe75546b5182d78f18c2cd882f0f440849e2
2011-06-25 04:08:47 -04:00
Sam Tobin-Hochstadt
079a86457d
Rename to follow TR naming conventions.
...
original commit: f6be5447dd7beb2a3bc769c35c9d3d5f8d2baf61
2011-06-24 20:20:53 -04:00
Eric Dobson
91fea80cb6
Documented new types and minor corrections.
...
original commit: e4bb1ba7d980e429f45037b4a26860b302394cd1
2011-06-24 20:10:37 -04:00
Eric Dobson
9252ba3bc3
TR: Added tests for new identifiers and export type names.
...
original commit: 0f0b9ebc7a01df4e4d7c079040b0ab0ddaaa05a9
2011-06-24 20:10:37 -04:00
Eric Dobson
6f2514ccd0
Added types for many miscellaneous operations.
...
Including Places, Wills, Semaphores, Psuedo-Random-Generators,
Byte-Converters, Loggers, Promises and Structure-Type-Properties.
original commit: b88d85f79a2053066609f272e22b707221abd571
2011-06-24 20:10:37 -04:00
Eric Dobson
f09ea1f806
Add types for evaluation and compilation operations.
...
original commit: 41e23fee696fcdf6e069713b300cc05b7c742620
2011-06-24 20:10:37 -04:00
Eric Dobson
142f207f24
Added types for security operations.
...
original commit: 8a6770735320db21d45fc543da5781918807f66e
2011-06-24 20:10:37 -04:00
Eric Dobson
05e3f8859b
Added types for subprocess operations.
...
original commit: 20ed3b809669a93191776067d4c83f3562699aef
2011-06-24 20:10:37 -04:00
Eric Dobson
a8af94e892
Added types for dynamic module access operations.
...
original commit: 1a44a82868f662c067fe3823d3be852fa03da977
2011-06-24 20:10:37 -04:00
Eric Dobson
be93d9c98f
Added types for continuation prompt and mark operations.
...
original commit: 78b68171ea06378788271ca87fbdd126f19202b9
2011-06-24 20:10:37 -04:00
Sam Tobin-Hochstadt
b92dbc8079
Fix rackunit types to be Any', not
Void'.
...
original commit: 19a7a370335413c280646cbc0653aa111f09879b
2011-06-24 18:10:25 -04:00
Sam Tobin-Hochstadt
fc51aee0b1
Provide `with-handlers' from prims.rkt under its real name.
...
original commit: c658a5687e0f9b9fdde8ae2dfbd9fda334fe9358
2011-06-24 18:10:25 -04:00
Eric Dobson
74ac6a4d22
Correctly recreate Scopes. Closes PR 10552. Closes PR 11532.
...
original commit: ce0f542028e9dfe5b18964223af8dad32ce04f57
2011-06-24 16:46:43 -04:00
Vincent St-Amour
6fcdd9ce43
Fix contract for update-type/lexical.
...
original commit: 62ad7846b9ff656e3f9fd5064e3ff654d9f53c73
2011-06-24 15:18:31 -04:00
Eric Dobson
98155d2366
Corrects types for typed/rackunit. Closes PR 11912.
...
Signed-off-by: Sam Tobin-Hochstadt <samth@racket-lang.org>
original commit: d0d748c55a3516f6f1911c437a0988fd6474061c
2011-06-23 12:19:56 -04:00
Eric Dobson
76edce6f07
Change Module-Path to be union type instead of a Base type. Closes PR 11963.
...
original commit: 42415575438236d0fcd900ce1ab854ed8aa256e0
2011-06-23 10:05:36 -04:00
Sam Tobin-Hochstadt
8c158b5ede
Add test for PR 10794.
...
original commit: 0df00e31d53ceb8da8c1f1e00e3d638b80e7ce9f
2011-06-22 17:36:31 -04:00
Asumu Takikawa
e9d31e83fb
Add negate (racket/function) to TR
...
original commit: 122aed89700b80eb9c9acde8750175cc21eda6b4
2011-06-22 16:04:19 -04:00
Asumu Takikawa
529b3cdc2b
TR test for racket/function
...
original commit: cee2509476815e57b3e1e689a677713df8077737
2011-06-22 16:04:19 -04:00
Asumu Takikawa
ee25931548
Add identity (from racket/function) to TR
...
original commit: 05a5c162310ef5afb07fffd118386be74d9a73bf
2011-06-22 16:04:19 -04:00
Eric Dobson
3919eabd09
TR: Added more tests for recently typed identifiers.
...
original commit: 16ee3376f759bf43538e7988b53dc82c399bdec8
2011-06-22 15:17:58 -04:00