Commit Graph

219 Commits

Author SHA1 Message Date
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
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
df3d6fd31c Cleanup flonum-op check, and contract fixups. 2013-05-29 08:58:42 -07:00
Eric Dobson
1c4a6546d0 Removed unnecessary require. 2013-05-28 20:44:35 -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
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
Asumu Takikawa
e0cff038c8 Refactor to reduce right-ward drift 2013-05-14 15:25:44 -04:00
Asumu Takikawa
67beb11cf6 Make require/typed work at top-level
Closes PR 13747
2013-05-14 15:25:43 -04:00
Vincent St-Amour
8638a661cc Fix source locations for TR for. 2013-05-14 10:35:19 -04:00
Vincent St-Amour
5de08f06b4 Fix type of sinh.
Found using random testing.
2013-05-13 16:46:00 -04:00
Vincent St-Amour
89f9b860cd Fix type of tanh.
Found using random testing.
2013-05-07 17:06:35 -04:00
Asumu Takikawa
c3b80bee41 Clean up struct: and disallow unsupported options
Related to PR 13562
2013-05-02 18:31:58 -04:00
Vincent St-Amour
e6ff57f3bd Allow read-only hash operations to accept HashTop.
Closes PR13710.
2013-04-25 17:29:10 -04:00
Sam Tobin-Hochstadt
ecf02a32b4 Add #:omit-define-syntaxes to define-type. 2013-04-21 15:39:38 -04:00
Sam Tobin-Hochstadt
3fd9df03f7 Fix types of system etc for new keyword arguments.
This requires extending the ->optkey type constructor to support rest
arguments, and fixing the keyword function type generation code.

Testing is still limited because there's no parsing for such types.
That will be handled in a later commit.
2013-04-18 21:01:56 -04:00
Stephen Chang
b3ba324a92 fix typed racket named let: error when there are no binding types
closes PR 13691

include in release
2013-04-12 18:25:55 -04:00
Eric Dobson
04ef9db1b3 Turn dynamic-requires into lazy-requires in TR.
Closes PR 13621.
2013-04-03 09:49:40 -07:00
Eric Dobson
6c2e75ac7e Make +,*,min,max support precise unary types.
Closes PR 13563.
2013-04-03 09:33:02 -07:00
Vincent St-Amour
f66ee7088f Fix type of tanh.
Found using random testing.
2013-04-02 16:29:10 -04:00
Vincent St-Amour
ed12b64bf7 Fix type of sinh.
Found using random testing.
2013-04-02 16:29:09 -04:00
Vincent St-Amour
c8c6341970 Simplify type. 2013-04-01 14:44:32 -04:00
Vincent St-Amour
92c4c70e7a Fix type of lcm.
Found using random testing.
2013-04-01 14:44:32 -04:00
Vincent St-Amour
990fa87a2e Add random testing for complexes.
Fix a bug it found.
2013-04-01 14:44:31 -04:00
Vincent St-Amour
f7e8b090e6 Fix types of bitwise-and and bitwise-xor.
Found with random testing.
2013-04-01 14:44:31 -04:00
Eric Dobson
eeeceedb8c Reimplement for*/list: in TR so that it works.
Closes PR 13253.
2013-03-31 10:40:21 -07:00
Eric Dobson
b637c24d88 Improve type of expt since inference is bad.
Closes PR 13383.
2013-03-31 10:39:36 -07:00
Eric Dobson
38409e0d7e Add descriptions to for: syntax classes.
Closes PR 13284.
2013-03-25 09:42:29 -07:00
Eric Dobson
87facb736f Check for structure binding and raise good error if it is not there.
Closes PR 13588.
2013-03-24 18:35:22 -07:00
Eric Dobson
bb0b071f38 Remove legacy require/typed form. 2013-03-24 18:35:21 -07:00
Tony Garnock-Jones
0399babc85 pretty-format returns a String, not Void 2013-03-21 18:11:28 -04:00
Eric Dobson
ccc8b85cef Fix parsing of dotted formals.
Closes PR 13576.
2013-03-17 18:52:47 -07:00
Eli Barzilay
af6be85ff5 Fix lots of indentation mistakes.
(Found by my ayatollah script...)
2013-03-14 10:55:47 -04:00
Eric Dobson
71d6189132 Cleanup of subtyping, additional comments, and improved short circuting. 2013-03-13 22:59:27 -07:00
Eric Dobson
6335de099e Make PolyDots actually subtype correctly. 2013-03-13 22:29:41 -07:00
Eric Dobson
f428191e1c Fix type of split-at and vector-split-at.
Closes PR12700.
2013-03-06 08:49:50 -08:00
Eric Dobson
9f01d26f98 Cleanup kw/opt lambda annotations. 2013-03-06 08:48:14 -08:00
Eric Dobson
485f246f39 Fix type of set?. Closes PR13509. 2013-03-04 09:17:40 -08:00
Vincent St-Amour
088006413f Generalize type of curry to functions of arity 3+. 2013-02-25 14:03:17 -05:00
Vincent St-Amour
034d7245a4 Filters for comparisons with inifinity. 2013-02-21 10:49:57 -05:00
Eric Dobson
13b205aa0a Fixes *-filter types and filter of zero?.
Closes PR13275.
2013-02-18 11:56:59 -05:00