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
Eric Dobson
36cc3220ea
Improve type of make-immutable-hash.
...
Closes PR13297.
2013-02-18 11:56:58 -05:00
Eric Dobson
7d6888f229
Improve types for exit and in-naturals.
2013-02-18 11:56:57 -05:00
Vincent St-Amour
29a181175f
Improve a number of numeric function types.
...
Closes PR13468.
2013-02-14 18:24:52 -05:00
J. Ian Johnson
469a69772c
For/product treated like for/sum for special annotation. Also allowed no annotation to be consistent with the docs.
2013-02-08 11:32:21 -05:00
Vincent St-Amour
bf2768f2c5
Allow cast in typed/racket/no-check.
2013-02-05 16:57:42 -05:00
Vincent St-Amour
b42034f98b
Exclude the right zeroes when checking for equality.
2013-02-04 14:32:44 -05:00
Eric Dobson
9e8cc6af3c
Add types for imaginary numbers and fix type of exact? and inexact?.
2013-02-04 14:32:44 -05:00
Vincent St-Amour
0bc60a77c8
Improve type of exact? and exact->inexact.
...
Adapted from a pull request by Eric Dobson.
2013-01-29 12:35:29 -05:00
Vincent St-Amour
32b3dfc528
Fix type of quotient on fixnums.
...
Closes PR13466.
2013-01-29 12:35:29 -05:00
Eric Dobson
a2f33f17e9
Remove tc-results? and other minor improvements.
2013-01-23 18:15:21 -05:00
Eric Dobson
aac25b42c9
Make AnyValues but don't actually start using it yet.
2013-01-23 16:41:09 -05:00
Asumu Takikawa
e1b6e84089
Fix filters on odd? and even?
...
Closes PR 13233
2013-01-18 18:25:18 -05:00
Vincent St-Amour
2c8e5f9acb
Move Optimization Coach to PLaneT 2.
2013-01-11 18:40:23 -05:00
Vincent St-Amour
c8d3aea6dd
Rethink profiler integration.
...
Requires the program to manually call the profiler. This dumps the results in
a separate file.
2013-01-11 18:40:18 -05:00
Asumu Takikawa
9c0a611b59
Disallow duplicate type variable declarations
...
Closes PR 13416
Please merge to 5.3.2
2013-01-08 14:50:08 -05:00
Vincent St-Amour
057a2bd0d2
Extend type of min to preserve fixnumness.
2013-01-07 17:00:32 -05:00
Vincent St-Amour
81cccb4c8f
Fix fixnum comparisons to prove more bounds.
2013-01-02 16:55:28 -05:00
Vincent St-Amour
4137eb9e73
Make let: annotations optional.
2013-01-01 18:14:52 -05:00
Neil Toronto
e06f31c94e
More precise return type for `magnitude' (it always returns nonnegative)
2012-12-31 14:17:17 -07:00
Sam Tobin-Hochstadt
0d01db8543
Fix type of log-message
.
2012-12-30 22:14:44 -05:00
Matthew Flatt
f2d870859a
logging: allow name in `log-message', report it in a log-receiver evt
...
The synchronization result of a log receiver is now a vector of four
values, instead of three, where the last one reports the name.
Also, an optional argument to `make-logger' provides a notification
callback for each event sent to the logger.
These changes enable more control over loggers and events. Suppose
that you have processes A and B, and you want all log events of A
to be visible to B, but not vice-versa. Furthermore, you want the
log events to appear at B in the right order: if A logs an event
before B, then A's event should arrive at a log receiver's before
B's. Now that a log receiver gets the name associated with the
original event, and now that the name can be re-sent in a
`log-receiver', it's possible to give A and B separate loggers and
send all of the events from A's logger to B's logger. Furthermore,
you can use the notification callback so that when an event is logged
in B, you can make sure that all available events from from A's
logger have been transferred to B's logger.
2012-12-27 14:12:40 -06:00
Matthew Flatt
4a57db4448
add (system-type 'word)
...
Returns 32 or 64 to indicate whether Racket is running as a
32-bit program or a 64-bit program.
2012-12-24 06:38:53 -07:00
Asumu Takikawa
acda049f7d
Add define: form variant for polymorphic non-function values
2012-12-19 13:08:41 -05:00
Vincent St-Amour
ec673fd58d
Allow #:unless' in
for:'.
...
Also allow `#:break' and `#:final' in all the `for:' macros.
Unfortunately, the expansion of `#:break' and `#:final' cannot be
typechecked at the moment.
2012-12-17 13:57:31 -05:00
Asumu Takikawa
6c716759d7
Simplify expansion of pdefine:
and define:
2012-12-13 17:54:58 -05:00
Asumu Takikawa
2bc1528630
Add type for xor
2012-12-10 15:49:51 -05:00