Sam Tobin-Hochstadt
22904ef43e
Use lazy
instead of delay
, as recommended by Eli.
2012-07-17 07:11:23 -04:00
Matthew Flatt
b3c7210a34
FFI repairs for 64-bit big-endian
...
Based on a patch supplied by Stephen Lewis
2012-07-16 19:22:31 -06:00
Matthew Flatt
8718a5dd62
doc and error-message fixes for module name resolver
2012-07-16 19:22:30 -06:00
Matthew Flatt
5c02b1c95a
racket/gui/init: module caching in the load handler
2012-07-16 19:22:30 -06:00
Sam Tobin-Hochstadt
8358420fcc
Use unstable/lazy-require
to dynamically-load the compile-time of match
.
2012-07-16 16:39:26 -04:00
James Swaine
b987be068e
Move racket/future/visualizer, racket/future/trace --> future-visualizer, future-visualizer/trace
2012-07-16 12:23:46 -05:00
Matthew Flatt
a605183a0a
more submodule repairs for `raco exe'
2012-07-16 10:02:13 -06:00
Eric Dobson
9dac995e36
Fix things broken by bad rebasing.
2012-07-15 19:21:26 -04:00
Eric Dobson
1df6165e9f
Clean up of typechecking for heterogeneous vectors and structs.
2012-07-15 19:21:26 -04:00
Eric Dobson
dd078dcb95
Clean up of tc-app.rkt.
2012-07-15 19:21:26 -04:00
Eric Dobson
779291c795
Remove special cases for - and fx- in tc-app.rkt.
2012-07-15 19:21:26 -04:00
Eric Dobson
8f98bb6d92
Added cond-check-below
2012-07-15 19:21:26 -04:00
Eric Dobson
3dfd4c52a9
Fix bad contract and clashing provides in TR when contracts are enabled.
2012-07-15 19:21:25 -04:00
Eric Dobson
030e56311e
Make TR compile cleanly with contracts enabled.
...
Added a couple of contracts and fixed some others up as well.
The two bugs were that with-contract was not imported, and that
subtype could be called with Values and Results.
2012-07-15 19:21:11 -04:00
Matthew Flatt
55a8445b0b
allow test to run if GL is unavailable
2012-07-15 10:36:36 -06:00
Matthew Flatt
73e901a262
fix optimizer bug
...
The lambda-lifting transformation needs to iterate to a fixpoint
where each lambda's added arguments and order are known. The
check for whether something changed was formerly just the number
of added arguments, but that's not good enough, because a binding
might get lifted away while another one acquires an extra argument.
The right test is to check the count and original bindings for the
added arguments.
Closes PR 12910
2012-07-15 10:32:45 -06:00
Matthew Flatt
9b51973b79
fix bytecode validation bug
...
Since the optimizer can lambda-lift a function and adds box arguments
(i.e., locations of mutable variables instead of values), then
the validator must check that calls and declarations are consistent.
But declaration-side information wasn't registered properly.
2012-07-15 10:32:33 -06:00
Matthew Flatt
c747af21e3
move commented-out tests to `test' submodule
2012-07-15 10:32:33 -06:00
Robby Findler
0ee8155527
use a more descriptive name in the identifier generated by define-on-demand
...
so when it shows up in an error message it doesn't take forever to figure
out which 'val' that is
2012-07-15 08:07:11 -05:00
Sam Tobin-Hochstadt
8c659d50ed
Properly handle quoted constants with bad expected types.
...
Closes PR 12874.
2012-07-14 23:06:13 -04:00
Sam Tobin-Hochstadt
1dca82784b
Handle arbitrary recursive contracts generated from Rec
types.
2012-07-14 22:45:08 -04:00
Sam Tobin-Hochstadt
2aaeec4520
Improve type of values
when applied to one argument.
...
Closes PR 12846.
2012-07-14 22:45:08 -04:00
Sam Tobin-Hochstadt
ccf79943ab
Fix special case for expected unions of vectors.
...
Closes PR 12845.
2012-07-14 21:56:44 -04:00
Sam Tobin-Hochstadt
2500dad8f1
Don't shortcut simple letrec
forms that aren't lambda
s.
...
Closes PR 12841.
2012-07-14 21:36:56 -04:00
Sam Tobin-Hochstadt
9e097866bf
Vector fixes.
...
- Allow indexing into a VectorTop, with result `Any`.
- Don't use special typing rules for applications when the operator
has an annotation or instantiation.
Closes PR 12887.
Closes PR 12888.
2012-07-14 21:30:26 -04:00
Sam Tobin-Hochstadt
49b030ac8d
Fix documentation of Sequenceof
type.
...
Closes PR 12831.
2012-07-14 21:30:26 -04:00
Sam Tobin-Hochstadt
f40c7f11a6
Mutable data at typed boundaries can't have flat contracts.
...
Closes PR 12884.
2012-07-14 20:43:35 -04:00
Sam Tobin-Hochstadt
546c12cf2a
Parse (Struct t)
as StructTop.
...
Close PR 12903.
2012-07-14 19:20:51 -04:00
Sam Tobin-Hochstadt
418a0c311b
Print StructTop
nicely.
...
Related to PR 12903.
2012-07-14 18:41:42 -04:00
Sam Tobin-Hochstadt
4cba6e010f
Intern Struct
types properly wrt. identifiers.
2012-07-13 17:10:50 -04:00
Sam Tobin-Hochstadt
e6697fe43f
Require binding of add-mod
.
2012-07-13 17:10:50 -04:00
Sam Tobin-Hochstadt
683f8e4e4b
Use promises for current-type-names
.
2012-07-13 17:10:50 -04:00
Asumu Takikawa
b33509bc0d
Remove old packages
...
The following packages were removed:
- combinator-parser
(see `asumu/combinator-parser` on PLaneT)
- tex2page
(see `asumu/tex2page` on PLaneT)
- test-box-recovery
2012-07-13 15:43:59 -04:00
Robby Findler
05b88930c0
improve how an after-insert callback behaves (specifically,
...
avoid redundant work when there are multiple inserts during
an edit sequence)
closes PR 12897
2012-07-13 10:50:13 -05:00
Robby Findler
0ca54bfe56
fix queue/stack confusion in the Guide
...
closes PR 12896
2012-07-13 10:50:13 -05:00
Matthew Flatt
e430463ea4
another submodule expansion repair
...
Relevant to PR 12902
2012-07-13 09:38:44 -06:00
Matthew Flatt
a94a2f6d55
avoid compiler warning
2012-07-13 07:48:17 -06:00
Matthew Flatt
f729c6441c
racket/draw: fix gl-context<%> locking
...
The optional arguments for `call-as-current' for `gl-context<%>'
were not implemented, and the locking implementation didn't match
the documentation in other ways.
2012-07-13 07:45:21 -06:00
Jay McCarthy
e71cbbe7a9
new email setup
2012-07-12 19:32:17 -04:00
Jay McCarthy
0da1c82584
Changing contracts on gl-context<%> and applying it to the gl-context% object.
...
I updated and noticed that this was now failing because interface
contracts are not check structurally (any more?). Once I applied the
interface, the contract application failed because the documented two
additional arguments (alternative and enable-breaks?) are not actually
accepted. I look through all the implementations of gl-context% and
none of them accept these. Should I change the documentation or is
this a bad backwards incompatibility with the older versions?
2012-07-12 19:32:17 -04:00
Matthew Flatt
1d8f5279bd
futures: fix a problem related to lightweight continuations
...
The mark-stack counter needs to be updated even if there
are no entries to add to the mark stack.
2012-07-12 15:43:22 -06:00
Sam Tobin-Hochstadt
2dd9a43d1b
Fix tests for new type name declaration.
2012-07-12 17:41:12 -04:00
Sam Tobin-Hochstadt
396b04eb86
Reduce some dependencies of Typed Racket prims.
2012-07-12 17:41:12 -04:00
Sam Tobin-Hochstadt
5ab3827b48
Delay actual initialization of type environment.
2012-07-12 17:41:12 -04:00
Sam Tobin-Hochstadt
775dc67a3b
Rename type-decl
submodule to #%type-decl
.
2012-07-12 17:41:12 -04:00
Vincent St-Amour
f036b0bd12
Add scribble support for additional letters from the Czech alphabet.
2012-07-12 17:40:01 -04:00
Kevin Tew
d8861a6947
[Distributed Places] place functions now work with distributed places
2012-07-12 11:41:47 -06:00
Vincent St-Amour
1a7c9844ec
Disable Optimization Coach in the student languages.
...
Also disables it for other language menu languages.
2012-07-12 12:42:20 -04:00
James Swaine
fe26c07637
Fix future visualizer not showing requested size for allocation events
2012-07-12 10:05:22 -05:00
Eli Barzilay
5cbdf4dc76
Provide `main' too, since it's used by redex/tests/run-tests.
...
(Broken in 4c2940a6.)
2012-07-12 00:12:44 -04:00