Sam Tobin-Hochstadt
aba4def03c
Remove references to unstable/match
from Typed Racket.
2013-06-14 16:45:43 -04:00
Sam Tobin-Hochstadt
536e3887bc
Remove uses of unstable/debug
from Typed Racket.
2013-06-14 13:51:32 -04:00
Asumu Takikawa
c305dba649
Remove memq
, memv
, member
from #%kernel
...
These are now implmented purely in Racket on all
platforms.
2013-06-11 11:57:22 -04:00
Asumu Takikawa
bab1997e58
Update TR base environment
2013-06-11 11:57:22 -04:00
Vincent St-Amour
c070aaecda
Fix type of gensym.
2013-06-07 15:24:22 -04:00
Asumu Takikawa
c8e281a80e
Fix union merging
...
Trying to merge (and thus resolve) applications of struct
types would cause infinite looping on type instantiation
if the struct type used both a union and recursion.
Closes PR 13821
2013-06-07 15:14:18 -04:00
Vincent St-Amour
5e30416110
Fix unsound fxquotient optimization.
...
Closes PR13827.
2013-06-06 13:20:30 -04:00
Vincent St-Amour
93d4a5d426
Fix unsound unary fixnum subtraction optimization.
...
Closes PR13826.
2013-06-06 13:01:43 -04:00
Asumu Takikawa
6014c78a55
Add a few more comments for inference modules
2013-06-05 16:18:22 -04:00
Vincent St-Amour
145f8711c8
Turn off TR contracts.
2013-06-01 08:15:10 -04:00
Vincent St-Amour
404fdf00f3
Fix TR contracts.
2013-05-31 21:08:52 -04:00
Asumu Takikawa
e0acdf1fc1
Fix type in error case
2013-05-31 20:19:12 -04:00
Vincent St-Amour
b5f7a7ffb2
Fix contracted TR build.
2013-05-31 20:14:21 -04:00
Asumu Takikawa
4497656544
Restore commented for
loop
...
The bug this was blocked on seems to be fixed since the
tests now all pass.
2013-05-29 13:09:01 -04:00
Eric Dobson
7c87a975a6
Remove unnecessary loop in tc-app-objects.
2013-05-29 08:59:37 -07:00
Eric Dobson
16afe191d8
Cleanup tc-app-objects a bit.
2013-05-29 08:59:37 -07:00
Eric Dobson
e54e67fc29
Make tc-app-object use a real dictionary.
2013-05-29 08:59:37 -07:00
Eric Dobson
c851fad6bc
Reduce duplication in construction of syntax-infos.
2013-05-29 08:59:08 -07:00
Eric Dobson
1bcdeaea24
Remove duplication of type-variable duplicate detection.
2013-05-29 08:59:08 -07:00
Eric Dobson
dce13a36b9
Make TR's lambda not do datum->syntax.
2013-05-29 08:58:43 -07:00
Eric Dobson
90cebbe454
Make tc-toplevel always return a list.
2013-05-29 08:58:43 -07:00
Eric Dobson
7618cac88e
Fix documented type, and remove unnecessary or.
2013-05-29 08:58:42 -07:00
Eric Dobson
4a328ecd0b
Make printing complex filters not be on by default.
2013-05-29 08:58:42 -07:00
Eric Dobson
04a8fd5433
Use stx-list? instead of syntax->list.
2013-05-29 08:58:42 -07:00
Eric Dobson
cea9472b31
Cleanup some syntax->list uses in the optimizer.
2013-05-29 08:58:42 -07:00
Eric Dobson
df3d6fd31c
Cleanup flonum-op check, and contract fixups.
2013-05-29 08:58:42 -07:00
Eric Dobson
564a7bcf2f
Remove unused code.
2013-05-29 08:58:42 -07:00
Eric Dobson
0552411432
Remove unused definition and clean up exports.
2013-05-28 20:45:24 -07:00
Eric Dobson
1c4a6546d0
Removed unnecessary require.
2013-05-28 20:44:35 -07:00
Eric Dobson
edc3b60b67
Share definition of erase-filter.
2013-05-28 20:44:15 -07:00
Eric Dobson
a76d57fa88
Use abbreviations for filters.
2013-05-28 20:43:13 -07:00
Eric Dobson
9af426b99f
Move from syntax->list and map to stx-map.
2013-05-28 20:31:09 -07:00
Eric Dobson
3e4a8acf70
Move from syntax-map to stx-map.
2013-05-28 20:31:09 -07:00
Eric Dobson
4af6b6ffcf
Make TR use syntax-length instead of (length (syntax->list x)).
2013-05-28 20:31:09 -07:00
Eric Dobson
83f38f4d3b
Use in-syntax instead of in-list/syntax->list.
2013-05-28 20:31:08 -07:00
Eric Dobson
f6050d5587
Make for loops in TR use an annotation when applicable.
2013-05-28 20:23:46 -07:00
Eric Dobson
4310f04eaf
Consolidate the rest of the syntax properties in TR.
2013-05-28 20:22:55 -07:00
Eric Dobson
a325e38046
Centralized typechecker:ignore properties.
2013-05-28 20:21:58 -07:00
Eric Dobson
df07151cb9
Centralize the definition of the plambda syntax property.
2013-05-28 20:21:57 -07:00
Eric Dobson
84d3051fee
Make resolve actually do all the necessary resolutions.
2013-05-28 20:21:31 -07:00
Sam Tobin-Hochstadt
499bcefa1d
Register scoped type variables for internal def. annotations.
...
Closes PR 13793.
2013-05-28 18:03:41 -04:00
Sam Tobin-Hochstadt
64df4cef13
Use submodules instead of marking tricks for identifiers in docs.
2013-05-28 17:28:42 -04:00
Vincent St-Amour
d9264525bd
Don't splice in vector creation when optimizing vector-length.
...
Closes PR13788.
2013-05-28 11:57:00 -04:00
Asumu Takikawa
e6503c5df6
Fix broken internal error
2013-05-27 11:34:43 -04:00
Eric Dobson
b9b1eb14ba
Minor whitespace fix.
2013-05-25 18:09:47 -07:00
Eric Dobson
01a88f8db1
Make scoped type vars work only for explict Alls and annotations.
...
Solves major issue disscussed on PR 13586.
Closes PR 13622.
Solves issue when typechecking lambdas with types like (All (a) Any).
Closes PR 13596.
Closes PR 13539.
Closes PR 13703.
2013-05-25 13:01:02 -07:00
Asumu Takikawa
a40a1341f6
Document :type better
2013-05-22 09:31:37 -04:00
Asumu Takikawa
34aeaee672
Expend printing fuel in all branches
...
This makes (:type (Number -> Integer)) produce
(Number -> Integer) instead of expanding at the first name.
Combined with expansion cues, this makes it easier for users
to expand the relevant parts of types.
2013-05-21 11:19:49 -04:00
Asumu Takikawa
19c5d3eaad
Cue user about unexpanded type aliases
...
This tells the user that more type aliases are
available for expansion. For example, (Listof Number)
has the alias Number still unexpanded into the union
that it represents.
2013-05-21 11:19:02 -04:00
Asumu Takikawa
1f5b262f6d
Add a #:verbose option to :type.
...
This prints the old way, expanding all aliases inside the type.
2013-05-20 16:14:23 -04:00