Sam Tobin-Hochstadt
fdcb22ea32
comment out type that produces strange duplicate error message.
2011-08-14 13:40:42 -04:00
Sam Tobin-Hochstadt
54c044c36a
Fix initial type environment for new-style keyword functions.
2011-08-14 13:40:42 -04:00
Robby Findler
997813680d
change the #:get-lock-file argument of call-with-file-lock/timeout to #:lock-file
2011-08-11 09:29:31 -05:00
Tony Garnock-Jones
54285e2f92
Correct type on typed variant of module->namespace.
2011-08-04 13:34:14 -04:00
Robby Findler
b972a0940d
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.
2011-08-02 16:28:16 -05:00
Vincent St-Amour
0951ad5b1b
Add types for #%kernel's memq, memv and member.
2011-07-29 13:43:11 -04:00
Vincent St-Amour
88a3d93e9e
Add a type for #%kernel's reverse.
...
Present in the expansion of for/list.
2011-07-29 12:54:29 -04:00
Vincent St-Amour
5b22dfb6b0
Add for*/sum: and for*/product: to TR.
...
These currently don't play nice with inference, so they only work in
limited cases.
2011-07-29 12:54:29 -04:00
Vincent St-Amour
6a8011854b
Add for/sum: and for/product: to TR.
2011-07-29 12:54:29 -04:00
Vincent St-Amour
fae966146f
Handle desired types being outside of the function's range.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
c0d0211ebb
Add a function to query how to get a given return type from a function.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
51b98138d5
Fix :print-type to use tc-setup.
2011-07-21 17:06:03 -04:00
Vincent St-Amour
70e1d63bed
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.
2011-07-21 17:06:02 -04:00
Eric Dobson
a7f0f7591d
Fixed types for path operations. Closes PR12057.
2011-07-19 16:47:13 -04:00
Eric Dobson
e6030295ff
Fix kernel-struct tests in TR.
2011-07-14 17:06:52 -04:00
Eric Dobson
abc8e514d9
Fixed require typed struct
2011-07-14 17:06:52 -04:00
Sam Tobin-Hochstadt
49444460d5
Add types for `check-in-{port,bytes,bytes-lines}'.
2011-07-07 14:24:28 -04:00
Vincent St-Amour
7debd46621
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.
2011-07-06 18:09:31 -04:00
Vincent St-Amour
d75d6c7ee4
Move flvector types with other indexing functions.
2011-07-06 18:09:30 -04:00
Eric Dobson
805e1fb309
Correctly require/typed structs with parents. Closes PR11509.
2011-07-05 11:25:10 -04:00
Eric Dobson
046d476970
Add types for kernel struct constructors.
2011-07-05 11:25:10 -04:00
Eric Dobson
4439638308
Don't export required bindings with all-defined-out and require/typed.
...
Closes PR11425.
2011-07-01 16:06:15 -04:00
Vincent St-Amour
43efe6adf0
Remove trailing whitespace.
2011-06-30 14:01:47 -04:00
Eric Dobson
b5e4515752
Changed order of imports in require/typed to order written.
...
Closes PR11193.
2011-06-30 14:01:47 -04:00
Matthew Flatt
1160d3df62
remove syntax certificates; add syntax taints
2011-06-29 19:15:48 -06:00
Eric Dobson
9721409b39
Cleaned up define-struct: and struct:.
2011-06-29 17:38:05 -04:00
Eric Dobson
e87ff268c2
Added legacy support for require/typed and require-typed-struct.
...
Added FIXME for duplicated code.
2011-06-29 17:38:05 -04:00
Eric Dobson
ecaf5f40a0
Cleaned up define-typed-struct-internal and require/typed.
...
Also fixed a test for require/typed.
2011-06-29 17:38:05 -04:00
Eric Dobson
f3692eae29
Added support for configurable constructor names in require/typed.
...
Closes PR11171. Closes PR11194. Closes PR11314.
2011-06-29 17:38:05 -04:00
Eli Barzilay
40124a0619
A long overdue scan to eliminate files without terminating newlines.
...
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Sam Tobin-Hochstadt
f6be5447dd
Rename to follow TR naming conventions.
2011-06-24 20:20:53 -04:00
Eric Dobson
e4bb1ba7d9
Documented new types and minor corrections.
2011-06-24 20:10:37 -04:00
Eric Dobson
0f0b9ebc7a
TR: Added tests for new identifiers and export type names.
2011-06-24 20:10:37 -04:00
Eric Dobson
b88d85f79a
Added types for many miscellaneous operations.
...
Including Places, Wills, Semaphores, Psuedo-Random-Generators,
Byte-Converters, Loggers, Promises and Structure-Type-Properties.
2011-06-24 20:10:37 -04:00
Eric Dobson
41e23fee69
Add types for evaluation and compilation operations.
2011-06-24 20:10:37 -04:00
Eric Dobson
8a67707353
Added types for security operations.
2011-06-24 20:10:37 -04:00
Eric Dobson
20ed3b8096
Added types for subprocess operations.
2011-06-24 20:10:37 -04:00
Eric Dobson
1a44a82868
Added types for dynamic module access operations.
2011-06-24 20:10:37 -04:00
Eric Dobson
78b68171ea
Added types for continuation prompt and mark operations.
2011-06-24 20:10:37 -04:00
Sam Tobin-Hochstadt
c658a5687e
Provide `with-handlers' from prims.rkt under its real name.
2011-06-24 18:10:25 -04:00
Eric Dobson
4241557543
Change Module-Path to be union type instead of a Base type. Closes PR 11963.
2011-06-23 10:05:36 -04:00
Asumu Takikawa
122aed8970
Add negate (racket/function) to TR
2011-06-22 16:04:19 -04:00
Asumu Takikawa
05a5c16231
Add identity (from racket/function) to TR
2011-06-22 16:04:19 -04:00
Eric Dobson
16ee3376f7
TR: Added more tests for recently typed identifiers.
2011-06-22 15:17:58 -04:00
Eric Dobson
f5a7e73be8
TR: Added some syntax and set tests.
2011-06-22 15:17:57 -04:00
Eric Dobson
f5517367e5
Added tests for filesystem operations, and added public type names.
2011-06-22 15:17:57 -04:00
Eric Dobson
dedd42a9dd
Fixed and cleaned up some types.
2011-06-22 15:17:57 -04:00
Eric Dobson
7803aed77b
Added types for tcp and udp operations.
2011-06-22 15:17:57 -04:00
Eric Dobson
85b19e9fee
Added types for syntax operations.
2011-06-22 15:16:56 -04:00
Eric Dobson
ad247b28b6
Added types for environment and runtime operations.
2011-06-22 15:16:56 -04:00