Eric Dobson
7b762933c6
Simplify the type of zero?.
2015-04-05 19:07:12 -07:00
Asumu Takikawa
7b5478e0bc
Make Place-Channel <: (Evtof Any)
2015-04-02 11:00:25 -04:00
Eric Dobson
889d96ca78
Strengthen infinity checks in comparison operations.
...
This adds checks for infinity when comparing against reals and accounts
for NaNs.
2015-03-30 09:25:48 -07:00
Eric Dobson
3889036b12
Simplify types for positive? and negative?.
2015-03-30 09:12:51 -07:00
Eric Dobson
5de22c80f7
Make values->tc-results restrict to the original type of the object.
2015-03-30 09:12:25 -07:00
Eric Dobson
e5ea1f4bb6
Make zero? sound with regards to NaN.
2015-03-28 14:08:20 -07:00
Alexis King
b54d8dc04a
Strengthen the types for member, memv, memq, and memf
...
Fixes #61 .
2015-03-25 16:44:42 -07:00
Alexis King
aab2d9efcf
Include more specific types for integers converted to floats
2015-03-19 18:54:11 -07:00
Asumu Takikawa
5d708ab53f
Add typechecking for prefab structs
...
Adds a new Prefab type constructor along with support for
the use of `struct` with the #:prefab keyword.
2015-03-10 15:14:51 -04:00
Asumu Takikawa
57a76517fc
Enable environment extension in unit tests
...
This allows a unit test like tc-e to extend the lexical
type environment when checking the test expression.
2015-03-09 15:59:02 -04:00
Vincent St-Amour
787df49140
Make type of division more lenient.
...
Thanks to John Clements for the report.
2015-02-04 14:06:54 -05:00
Asumu Takikawa
8402ee1635
Add FSemaphores to Typed Racket
2015-02-02 11:23:09 -05:00
Asumu Takikawa
e85cc55f6f
Add types for call-with-semaphore
2015-02-02 02:54:01 -05:00
Alexis King
7122d93de8
Make Path a subtype of Module-Path
...
Closes #20 .
2015-01-31 09:33:50 -05:00
Alexis King
8c471bb2a3
Add tests for directory-list #:build? argument
...
Closes #18 .
2015-01-29 09:55:17 -05:00
Vincent St-Amour
ef35d21a31
Refine type of current-inexact-milliseconds.
...
Thanks to Alex Knauth for the report.
2015-01-27 20:30:28 -05:00
Sam Tobin-Hochstadt
9a39c3e793
Add for/set
and for*/set
to Typed Racket.
2015-01-16 09:43:37 -05:00
Andrew Kent
3ed6b464e7
overlap tests for Seq and Evt, minor overlap fix
2015-01-06 15:01:16 -05:00
Andrew Kent
16db5ecc78
dont let-alias type vars, better overlap & restrict
2015-01-06 13:51:40 -05:00
Andrew Kent
9d41048747
fixed mutation let-aliasing bug
...
let-aliasing initially forgot to check if a variable that might act as
an alias was ever mutated. fixed by disallowing a mutated variable to
act as an alias.
2015-01-03 23:03:45 -05:00
Asumu Takikawa
6059fb481b
Check expected type before calling tc/funapp1
...
This compensates for a change in commit bb3f446186
that made the possible-domains function more permissive
(possibly returning results that are inconsistent with the
expected type).
Closes PR 14889
2015-01-01 00:03:23 -05:00
Andrew Kent
e1b8eff1f9
initial let-aliasing addition
2014-12-22 12:35:30 -05:00
Vincent St-Amour
134f793ccc
Reduce directory nesting for tests.
2014-12-16 10:07:25 -05:00