Vincent St-Amour
908e5e853d
Delay evaluation of numeric base env types.
...
original commit: 70aaf6bf24e4cd80ad0e4be3baf841ed8e252cad
2011-08-30 17:00:25 -04:00
Sam Tobin-Hochstadt
61836d7939
Fix type of `make-temporary-file'.
...
original commit: 534d89b983a2c2c81f20cabf68b7c9ed7f930ec8
2011-08-30 11:33:40 -04:00
Sam Tobin-Hochstadt
0550dd15d2
Make environments much lazier about computing types; remove useless requires.
...
Allow duplicate type annotations when they are the same type.
original commit: 3e1eb67336617150b546841a0c1c3d2793385b06
2011-08-30 11:33:40 -04:00
Vincent St-Amour
bb11c93478
Add Nonnegative-Integer as a synonym for Natural.
...
original commit: 15aeb099ea587eef539884620b222bff7766ec77
2011-08-29 15:26:12 -04:00
Sam Tobin-Hochstadt
a9fd799164
Improve types for some date operations; fix typo.
...
original commit: e67415171a4655f1fa1f399abebb8e7d47abcf31
2011-08-29 12:08:13 -04:00
Sam Tobin-Hochstadt
f11e1b37d0
Generalize #t and #f to `Boolean'.
...
original commit: ba09e906d8c908a1e57b24a457dfeec0ee4d8ebc
2011-08-26 08:05:44 -04:00
Sam Tobin-Hochstadt
a4600be405
Repair type of `find-relative-path'.
...
original commit: 717476f84df4927cdb2e2ae012ddd3c621892f38
2011-08-25 19:00:49 -04:00
Sam Tobin-Hochstadt
047af2b619
Support vector arguments to `datum->syntax'.
...
Related to PR 10290.
original commit: 4185da9035fc3c6aa5a5de796f0d6b077e3b72ec
2011-08-25 14:10:05 -04:00
Sam Tobin-Hochstadt
ec40b5be8f
Refactor base-special-env to run at phase 0.
...
Unfortunately, it can no longer be required normally, and forces changes to test suites.
original commit: 8ecc2a4da4c995a83ddc630ab274859f47597fc6
2011-08-15 21:39:31 -04:00
Sam Tobin-Hochstadt
14d059022a
Fix type of file->bytes-lines
...
original commit: 13ef3849fcee7fa8a7bd5ecf988ed0bb4fbcf84a
2011-08-15 21:39:30 -04:00
Sam Tobin-Hochstadt
2ae93408c1
re-enable type for port->bytes-lines
...
original commit: b25aae230be253861800c483aa0b7f2ffbb1315c
2011-08-15 21:39:30 -04:00
Sam Tobin-Hochstadt
fb381b7dfd
comment out type that produces strange duplicate error message.
...
original commit: fdcb22ea32b700c0c56895b86dc5330191d7f065
2011-08-14 13:40:42 -04:00
Sam Tobin-Hochstadt
06367272b6
Fix initial type environment for new-style keyword functions.
...
original commit: 54c044c36a5738a862379e4f10d0b9453c8e27b0
2011-08-14 13:40:42 -04:00
Robby Findler
f38df9c69b
change the #:get-lock-file argument of call-with-file-lock/timeout to #:lock-file
...
original commit: 997813680db107a75dae889f73bc3da5ce00806f
2011-08-11 09:29:31 -05:00
Tony Garnock-Jones
8d95d8065c
Correct type on typed variant of module->namespace.
...
original commit: 54285e2f922537a3f10d24ee99c4381666bf9a90
2011-08-04 13:34:14 -04:00
Robby Findler
4c89455512
Added online expansion and compilation of files
...
being edited in DrRacket (via places)
Added an API to let tools have access to that
information (and compute more stuff)
Used that to make an online version of Check Syntax
which led to a separately callable Check Syntax API.
original commit: b972a0940d04f4ff2c659d494805a7d34358da17
2011-08-02 16:28:16 -05:00
Vincent St-Amour
ed0cd8f898
Add types for #%kernel's memq, memv and member.
...
original commit: 0951ad5b1bd494d63dd9c7eb372dff043de8bb6c
2011-07-29 13:43:11 -04:00
Vincent St-Amour
fcfa476f15
Add a type for #%kernel's reverse.
...
Present in the expansion of for/list.
original commit: 88a3d93e9e93118a57a25c5da0b392763552a3bd
2011-07-29 12:54:29 -04:00
Vincent St-Amour
c3a9c07979
Add for*/sum: and for*/product: to TR.
...
These currently don't play nice with inference, so they only work in
limited cases.
original commit: 5b22dfb6b0d329af5c2cd78a1652431de29fe739
2011-07-29 12:54:29 -04:00
Vincent St-Amour
fea766dfbb
Add for/sum: and for/product: to TR.
...
original commit: 6a8011854be3c67dc9fe0f3b1e7ba119a28500bd
2011-07-29 12:54:29 -04:00
Vincent St-Amour
4f8a856630
Handle desired types being outside of the function's range.
...
original commit: fae966146fbb6a40973d22b88fa6e480db6cde41
2011-07-21 17:06:03 -04:00
Vincent St-Amour
e5ba187ea1
Add a function to query how to get a given return type from a function.
...
original commit: c0d0211ebbf209b7b17aaa54f48c13ca65eab345
2011-07-21 17:06:03 -04:00
Vincent St-Amour
18a8bdbca5
Fix :print-type to use tc-setup.
...
original commit: 51b98138d5f15ec31bbca0f2e9d5640046ce19d8
2011-07-21 17:06:03 -04:00
Vincent St-Amour
9fdfbb934d
Add a function to print whole types.
...
With this, it's possible to get more information than the simplified
types shown at the REPL. The types are as unwieldy as ever, but you
have to ask for them explicitly.
This is not an adequate long-term solution, and will be replaced by a
"Type Explorer" tool.
original commit: 70e1d63bed2ac85313d048cc9c359ae43330a7e3
2011-07-21 17:06:02 -04:00
Eric Dobson
703eac8bd5
Fixed types for path operations. Closes PR12057.
...
original commit: a7f0f7591d17558ed17644fadb89ad01216fd77a
2011-07-19 16:47:13 -04:00
Eric Dobson
c6af28ff8d
Fix kernel-struct tests in TR.
...
original commit: e6030295fff3c50dd66ddcd6d1d39a5b8ea18247
2011-07-14 17:06:52 -04:00
Eric Dobson
aa247c5d10
Fixed require typed struct
...
original commit: abc8e514d9bb9e054c5a9083b47f7351899621a2
2011-07-14 17:06:52 -04: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
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
Eric Dobson
9e1e05efad
Correctly require/typed structs with parents. Closes PR11509.
...
original commit: 805e1fb309487ba8903b84e27b575fea485b8748
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
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
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
Matthew Flatt
5fb4f1af3a
remove syntax certificates; add syntax taints
...
original commit: 1160d3df629ce65eb8fe9ebea2c33b8d4000ea50
2011-06-29 19:15:48 -06: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
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