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
Eric Dobson
ae26c2173d
Added types for file operations.
2011-06-22 15:16:55 -04:00
Eric Dobson
329b209f3b
TR: Many small type changes.
2011-06-22 15:16:55 -04:00
Eric Dobson
4f898865fd
Added types for namespace and variable reference operations.
2011-06-22 15:16:55 -04:00
Eric Dobson
7102c4dae2
Added types for hash and set operations.
2011-06-22 15:16:55 -04:00
Eric Dobson
469f0a5314
Added types for parameters and parameterization operations.
2011-06-22 15:16:55 -04:00
Eric Dobson
a913a1432d
TR: Added Thread Cells and corresponding operations
2011-06-22 15:16:55 -04:00
Eric Dobson
bdf0d13970
Added types for thread operations. Added Custodian type.
2011-06-22 15:16:55 -04:00
Vincent St-Amour
d946060a13
Fix type of = to only accept 2+ arguments.
2011-06-22 14:32:05 -04:00
Sam Tobin-Hochstadt
2cdf05ad5c
Fix type-env-lang to handle require'/
provide' better.
2011-06-22 14:28:52 -04:00