Commit Graph

1806 Commits

Author SHA1 Message Date
Eric Dobson
aa247c5d10 Fixed require typed struct
original commit: abc8e514d9bb9e054c5a9083b47f7351899621a2
2011-07-14 17:06:52 -04:00
Eric Dobson
4c45389e85 Fixes for inference. Closes PR10937.
original commit: 5e08f7a41107027ce8e38af49897fa471094473e
2011-07-14 17:06:51 -04:00
Eric Dobson
7a3d4112fe Working on improving contracts in TR.
original commit: f5e24ba1634f9e19e257b2e62c081dda6c0e885f
2011-07-14 17:06:51 -04:00
Eric Dobson
ce0f3b595b TR: Produce better error messages with values. Closes PR11772.
original commit: 8a2c9b4682786686e38cc7df431efd38e803383f
2011-07-14 17:06:51 -04:00
Vincent St-Amour
0c46eab523 Fix unsafe multiplication.
original commit: cf04739f93dd2a6e16bd022431a123c1a25865cb
2011-07-13 12:52:47 -04:00
Vincent St-Amour
b1aa042289 Make index? faster.
original commit: e5314f945e0827331d7e1dcd8320bb8d0c59132e
2011-07-13 12:07:56 -04:00
Vincent St-Amour
124cf9c5df Add list optimizations.
original commit: 59a85b3eb2eb1f8db7200b5f3e79575ec6927362
2011-07-11 15:55:07 -04:00
Vincent St-Amour
4c281da82a Fix test for new contract error message format.
original commit: 79ef8e889e327cd50df683ff9594b83f5a50cc64
2011-07-11 15:35:49 -04:00
Carl Eastlund
de9ecf5437 Corrected documentation of quote-module-name to indicate that it does not
produce collection and planet-relative paths on its own.  Deprecated
quote-module-path, and replaced existing uses of it with quote-module-name.

original commit: 2e6a608539f5ef39a9ff821d95163ea4660da952
2011-07-09 14:46:58 -04:00
Matthew Flatt
c90e2acc38 change `find-method/send' back to one result
The 2-result implementation is not needed now that contracts
 are implemented via impersonators

original commit: efd1fa51bdf8de677c9749e830843bdf4fd52322
2011-07-09 07:08:32 -06:00
Ryan Culpepper
4b788e02f6 moved typed racket docs up within section
original commit: e66275c3f51778c64a3fa9f7f8f7e27c83877806
2011-07-07 14:00:22 -06:00
Sam Tobin-Hochstadt
27a2086b33 Add types for `check-in-{port,bytes,bytes-lines}'.
original commit: 49444460d5f0280336e47d0cdd1abc1a5e81ff90
2011-07-07 14:24:28 -04:00
Vincent St-Amour
d24f4ca071 Fix test to avoid differences in printing.
original commit: 50974440f47b8d10da32ef9d8557d2576dd14e41
2011-07-07 11:41:59 -04:00
Vincent St-Amour
5afdc26236 Fix tests.
original commit: 0494e16d4f7c3882fa8edf86338e517963082d08
2011-07-06 18:34:14 -04:00
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