Commit Graph

32256 Commits

Author SHA1 Message Date
Asumu Takikawa
b5d4333d2c Fix type inference helper on AnyValues range
This bug allows a test to be written for the previous
commit. Previously, it would throw a match error.
2014-01-16 17:42:01 -05:00
Asumu Takikawa
0efc6d59e7 Fix types for process and process*
Closes PR 14297
2014-01-16 17:42:01 -05:00
Robby Findler
0a110a30be adjust the source location on metafunction def-before-use errors
closes PR 14289
2014-01-15 21:33:17 -06:00
John Clements
14458fdf43 doc clarification on init-auto-scrollbars 2014-01-15 13:04:38 -08:00
Robby Findler
c8086e30e0 some small changes to the fonts (perhaps for the update to osx 10.9) 2014-01-15 13:50:22 -06:00
Robby Findler
d645f21f4a adjust bitmap test to just show the diffs right away
(because it is a lot faster now than it used to be, thanks
to earlier improvements)

Also, Rackety
2014-01-15 13:50:21 -06:00
Robby Findler
b5cfb7affe Adjust rewrite-side-conditions/check-errs so that it
returns the ellipses names in addition to the regular names

keeping the names in the pattern and including them in the last
two results

closes PR 14291
2014-01-15 13:50:21 -06:00
Matthew Flatt
a391556faa scribble/manual: improve defstruct layout
The old layout used column spans that created ugly space around parentheses
for some combinations of field-name and keyword-modifier lengths. The new
layot avoids the problem by breaking the keyword modifiers into their
own table.
2014-01-15 10:31:11 -07:00
Matthew Flatt
77392cd027 scribble/manual: break defthing output lines if needed
If the defined identifier plus contract doesn't fit on a single
line, put them on separate lines.
2014-01-15 10:31:11 -07:00
Matthew Flatt
bfda0665de add syntax/wrap-modbeg 2014-01-15 10:31:11 -07:00
Matthew Flatt
780d6ae566 x86_64: minor bignum performance boost
Incorporate a few x86_64 assembly routines from the latest GMP,
which provides a small speed boost for operations such as bignum
multiplication and division.
2014-01-15 10:31:11 -07:00
Eric Dobson
a33b26fc04 Optimize cons/sc contracts. 2014-01-15 08:40:08 -08:00
Eric Dobson
74d79a5051 Optimize away recursive contracts in more cases. 2014-01-14 23:49:31 -08:00
Eric Dobson
6d05e41a24 Make numeric contracts in unions better. 2014-01-14 22:52:18 -08:00
Eric Dobson
4ad412d71c Add tests to check conversion of types to static contracts. 2014-01-14 22:31:21 -08:00
Eric Dobson
9bd577c426 Remove unused require. 2014-01-14 19:37:13 -08:00
Eric Dobson
93e9aaf996 Make typechecking code use label instead of template for binding. 2014-01-14 19:37:13 -08:00
Eric Dobson
eaaa4b2923 Minor cleanup in utils. 2014-01-14 19:37:12 -08:00
Eric Dobson
7a31c966c8 Reduce for-template imports in environment code. 2014-01-14 19:37:12 -08:00
Eric Dobson
4537b52b6a Reduce and document template requires in types. 2014-01-14 19:37:12 -08:00
Eric Dobson
3d0cadf0a8 Make tc-app code match using label phase. 2014-01-14 19:37:11 -08:00
Eric Dobson
e8c65ff759 Make annotate classes use for label. 2014-01-14 19:27:10 -08:00
Eric Dobson
476c7666b7 Make parse-type do a for-label require. 2014-01-14 19:27:10 -08:00
Robby Findler
cd4de75193 make sure redex-match? does the duplicate non-terminals check
closes PR 14290
2014-01-14 16:56:41 -06:00
Eric Dobson
403a8b42e9 Add possible to TR optimizer message 2014-01-14 08:48:07 -08:00
Eric Dobson
dad6c6dec4 Add float optizations back (but only on floats). 2014-01-14 08:48:07 -08:00
Eric Dobson
70d9f4bdb6 Change messaging on non float complex expressions. 2014-01-14 08:48:07 -08:00
Eric Dobson
4fb96bdfa5 Move broken float optimizations out of main syntax class.
Introduces slight regression in already broken checks.
2014-01-13 22:35:41 -08:00
Eric Dobson
608eb9df8f Fix class static contracts and add tests. 2014-01-13 21:01:20 -08:00
Eric Dobson
e164a959eb Fixup contract restricts.
Add useful printing.
Add removal of trival constraints.
Fix bug in close loop when constraints were not getting closed correctly.
2014-01-13 21:01:20 -08:00
Eric Dobson
8f13c2f966 Fixup the static contract documentation. 2014-01-13 21:01:19 -08:00
Eric Dobson
c95084cedf Change name of recursive contract to not colide with racket/contract. 2014-01-13 21:01:19 -08:00
Eric Dobson
a8199ad1d2 Add in-list and in-hash to instantiate. 2014-01-13 21:01:19 -08:00
Eric Dobson
0be83b6c67 Add comment to simple static contracts. 2014-01-13 21:01:19 -08:00
Eric Dobson
9bb66a9c58 Remove terminal contract generic interface. 2014-01-13 21:01:19 -08:00
Eric Dobson
751835c7da Add names to flat static contracts. 2014-01-13 21:01:19 -08:00
Eric Dobson
87414956ab Make polydotted types generate contracts. 2014-01-13 21:01:19 -08:00
Eric Dobson
f394d3d260 Handle complicated parametric types in TR contract generation.
Closes PR 14270.
2014-01-13 21:01:19 -08:00
Eric Dobson
738efdc263 Simplify recursive contracts when optimizing. 2014-01-13 21:01:18 -08:00
Eric Dobson
bb74b55f67 Add custom printer for terminal contracts. 2014-01-13 21:01:18 -08:00
Eric Dobson
497a7faa83 Make static contracts catch simple parametric contract errors. 2014-01-13 21:01:18 -08:00
Eric Dobson
6deb1e3193 Add sc-traverse for folding over static contracts. 2014-01-13 21:01:18 -08:00
Eric Dobson
f17f6655dd Make contract generation failure tests pass, and simplify reason logic. 2014-01-13 21:01:18 -08:00
Eric Dobson
1acd1537e8 Made error messages better for contract generation failures. 2014-01-13 21:01:18 -08:00
Eric Dobson
62f4aec04f Made reasons get passed through and re-add a failing test. 2014-01-13 21:01:18 -08:00
Eric Dobson
fff652b44b Added generic mechanism for easy to write terminal contracts. 2014-01-13 21:01:17 -08:00
Eric Dobson
9b9ec7fd5a Added terminal sc contracts, and made optimizer use them. 2014-01-13 21:01:17 -08:00
Eric Dobson
dcb8fa2b5e Sorta working new lengths. 2014-01-13 21:01:17 -08:00
Eric Dobson
9eea867e9a Make simple static contracts not combinators. 2014-01-13 21:01:17 -08:00
Eric Dobson
895fd4b917 Remove unsound optimizations. 2014-01-13 21:01:17 -08:00