Commit Graph

2696 Commits

Author SHA1 Message Date
Asumu Takikawa
ccdaf6e564 Use string->uninterned-symbol instead of gensym
The reason these functions used gensym to begin with
was that fresh variables resulted in confusing error
messages of the form "Expected a, but got a".

An upcoming commit fixes these error messages, so
the gensym is replaced.

original commit: b214fa01c11c6fc74f24318bc702bbb5ad915822
2013-10-16 14:39:24 -04:00
Asumu Takikawa
ef1bb66deb Linkify
original commit: e24310629483b3c2527e04dd82e509fb0b51f7b7
2013-10-16 14:39:24 -04:00
Asumu Takikawa
9aef2f0bed Typo (plurality)
original commit: 6f344c6259ef6ff9d645c502619afbda885189a5
2013-10-16 14:39:24 -04:00
Matthew Flatt
40bc64482e remove some unneeded dependencies
original commit: d5f6b72e6976a36d6777709711765af1117c959b
2013-10-15 17:50:32 -06:00
Matthew Flatt
947181fe22 move some test & doc collections out of "racket-" pkgs to new pkgs
original commit: 1920ac59ab0607502641298fc575b66e6acd8c73
2013-10-15 17:50:32 -06:00
Asumu Takikawa
3e57d7972b Add a caveats and limitations chapter to TR guide
original commit: 99427ea6c3788f4e2c5d4259df172f10db119c14
2013-10-15 19:11:26 -04:00
Ambrose Bonnaire-Sergeant
9b715f5ba2 Typo in comment
original commit: 51a3094fdcb79b03fd7e9e1973206ca09039e9d3
2013-10-15 13:58:23 +08:00
Vincent St-Amour
82d0c4a3b8 TR for clause specialization: Report specialization failures.
original commit: d6372ef2dced88bba56d640b03158f1652671be5
2013-10-10 17:18:03 -04:00
Vincent St-Amour
5b36f34fe4 TR for clause specialization: More detailed message.
original commit: 456f32b77f10f807a31388fae951fa66755fd9b4
2013-10-10 17:18:03 -04:00
Vincent St-Amour
e1c1f270a5 TR for clause specialization: log syntax objects with location info.
original commit: cef7348e8de66d89baa612ad201054bc1656b197
2013-10-10 17:18:03 -04:00
Asumu Takikawa
61f436be0f Make : error on unbound identifiers
Closes PR 13298

original commit: f6d62b2813616b6efa56acc0695403d7a32e9386
2013-10-08 12:06:58 -04:00
Vincent St-Amour
6a96687838 Fix TR constructor detection.
Was accidentally turning #%expression into #%plain-app in some cases.

original commit: ba9873b0a062c2d6a64f8e5a8db3e6bd01a6a5c7
2013-10-04 10:18:44 -04:00
Sam Tobin-Hochstadt
3405bbdfac Add (very simple) type for hash.
original commit: c88e536c460ff05fc1e8b4c134a5361a14a3f32f
2013-10-03 13:14:02 -04:00
Vincent St-Amour
d49488ebaf Add Asumu and Eric to the TR credits.
original commit: 88f9608c178464806029366353eb5de848a510c3
2013-09-28 17:18:10 -04:00
Vincent St-Amour
89f5af7712 Fix running individual optimizer tests.
original commit: 8e225621c3ab2976e40b92e1a2c8ed40206b90b5
2013-09-28 16:40:50 -04:00
Vincent St-Amour
8dbf844521 Fix reporting of struct constructors in TR.
original commit: 5f2dfa51442a0adfa20a0aa44bdfb681cd18eca2
2013-09-28 16:40:50 -04:00
Asumu Takikawa
aa5d2e6a82 Improve error message for misuse of type names
Closes PR 13289

original commit: cd004fd9cec127cf0e409e824c8b0194983b1cee
2013-09-20 15:49:31 -04:00
Matthew Flatt
1cbbe0d029 Typed Racket reference: use #:indirect to fix some docs
Also, use `#:no-declare` to fix some module declarations that are
all in the same section. (If bindings were defined in the modules, then
they'd need to be in different section, but the section titles could
be hidden to make them look like they're all in the same section.)

original commit: 39a0c3b492d46baed04e2205c0604cf8c4d4967b
2013-09-19 11:17:44 -05:00
Asumu Takikawa
deaf4861c2 Improve type->contract error messages
original commit: 0b78356be72274c07553047f5f95614e329617c3
2013-09-17 20:37:57 -04:00
Sam Tobin-Hochstadt
3c39fd0c95 Remove links to math and plot docs until we can do them correctly.
original commit: 627e1b4782f320310f6a38fccff3cad083125dbc
2013-09-17 08:38:54 -04:00
Robby Findler
1b30e4a1fc add missing dependency declarations
original commit: 36c623d93f693ec3312d01cb49b169e1da19a6ae
2013-09-17 03:38:08 -05:00
Asumu Takikawa
2b955ead7f Expand TR reference section on libraries
original commit: f5b82eb510c02bb512cc6a8c4dfcb7c16efe6657
2013-09-16 16:17:02 -04:00
Ryan Culpepper
a521f6aee2 extracted rackunit-gui package
original commit: 8512c365128064f3c1d3bdee768ce387cb358303
2013-09-15 13:49:35 -04:00
Robby Findler
1cb627e61a remove dependency from string-constants on compatibility-lib
original commit: 03f50815d7c2e9c905014924308fa3917f377d88
2013-09-13 12:04:51 -05:00
Eric Dobson
3ca5150122 Make unboxed let not double optimize. TODO fix logs.
original commit: 10dc9afc3371790ad479017e86fb770c442ede3b
2013-09-13 09:17:40 -07:00
Sam Tobin-Hochstadt
f35c297a1d Improve error messages for bad uses of :type etc.
original commit: 1a682c389a2751f37c1fcc5f7ef23a3a1167f7e9
2013-09-13 11:40:41 -04:00
Eric Dobson
0fdb87985c Cleanup float complex optimizations.
This changes might have bad changes, we should take a closer look at the
diffs.

original commit: a1759de5b6609b3fe3c3860638677ed7ba117b22
2013-09-12 20:20:00 -07:00
Asumu Takikawa
783d50d4a6 Allow user to write new pair filter objects
original commit: d88bea01477e4cb191fc28f9c50e6ecd80d5222f
2013-09-12 11:18:11 -04:00
Asumu Takikawa
ef78c1fa66 Use pairs for objects on arrow types
Previously, function types looked something like
    U_n|V_n
 S ---------> T   where n is a natural number representing
       ∅          a function argument by its index

They now look like
    U_(n,m)|V_(n,m)
 S -----------------> T   where the pair indicates the mth argument
           ∅              bound by a function n lambdas away

This allows the use of curried predicates in occurrence typing

original commit: 4c17c2091cfbf25a90b82256f43d4b46cbe868de
2013-09-12 11:18:11 -04:00
Asumu Takikawa
072d05791b Improve error checking for filter objects
original commit: 73050139340c0785c2dfc2cd14ee8e82c16ae4ed
2013-09-12 11:18:10 -04:00
Asumu Takikawa
6188a21d8a Parse identifier objects in filters
original commit: 7ff8d8d6b750edc258f622bafec3a80bd880b1d5
2013-09-12 11:18:10 -04:00
Eric Dobson
85f997b4c7 Make struct: form have the correct bindings in struct info.
Also fixes reexport of struct-type to typed modules.

Reexport issue.
Closes PR13160.

Constructor issue.
Closes PR13161.

Struct copy issues.
Closes PR 10765.
Closes PR 12513.
Closes PR 13149.

original commit: 9586dca0a339560d12777d22b624e6c9bd3f52e7
2013-09-12 00:02:48 -07:00
Eric Dobson
bcc606575c Document new known bugs.
original commit: 4a4c8418dc9428617fca3e2ed85e35332b557d9d
2013-09-11 22:52:02 -07:00
Eric Dobson
16432446eb Make more code use n-ary->binary.
original commit: 692d2ee7ffe6d3497a9a7767e546ca30f4d1063c
2013-09-11 22:30:49 -07:00
Eric Dobson
5dede9d084 Cleanup optimizer code.
original commit: 28b07e7a4518a43e390d815a2709123cfa7ca3b6
2013-09-11 22:30:49 -07:00
Eric Dobson
b9b8c9d67a Cleanup float optimizations.
original commit: 1f631a219f31b34192f9eaa184303df357ce58bd
2013-09-11 22:30:49 -07:00
Eric Dobson
2d6cb5a4a4 Cleanup fixnum optimizations.
original commit: 02f918107ef55721f000740ea3d373238bc1fcd9
2013-09-11 22:30:49 -07:00
Eric Dobson
9da8cc0eac Cleanup unboxed-let optimizations.
original commit: fc5369ecea92fefb295537c31f6e3bb87e973be6
2013-09-11 22:30:49 -07:00
Eric Dobson
4ed4737cf8 Cleanup vector optimizations.
original commit: 2ddcfbc1e4e396c2965c3edffaf37f9a2465c38d
2013-09-11 22:30:49 -07:00
Eric Dobson
57cdc95b1f Cleanup struct optimizations.
original commit: 9bafe3b674853788cd5d27e611b7b483ab12279b
2013-09-11 22:30:49 -07:00
Eric Dobson
58e7c1f024 Cleanup number optimizations.
original commit: 50ee4c75b285cd9a7b7254f9458661dddf883c30
2013-09-11 22:30:49 -07:00
Eric Dobson
f789607929 Cleanup hidden cost optimizations.
original commit: 64064f69d7accbc68e17593dddf3e2f8f79d92cb
2013-09-11 22:30:49 -07:00
Eric Dobson
a1163a700f Cleanup box optimizations.
original commit: 6c4ee2134804352dd1a8fd445c1e1a17915879f3
2013-09-11 22:30:48 -07:00
Eric Dobson
83f1db0f3b Cleanup string optimizations.
original commit: 010f9e1ef4345ef770dfdf8100e1385d468e1ae7
2013-09-11 22:30:48 -07:00
Eric Dobson
1ed75b095b Cleanup sequence optimizations.
original commit: 71516d0201baf68f8a97ae7a4e46fca3ccadca45
2013-09-11 22:30:48 -07:00
Eric Dobson
1e1c06c515 Cleanup list optimizations.
original commit: 4631705b16deb9e3c0561ba97d2f73b22cf86cce
2013-09-11 22:30:48 -07:00
Eric Dobson
c6cd43eeb9 New version of TR unit tests.
original commit: fbf4d6c88633e6f695286540f2e7d3d2cfc79531
2013-09-11 21:59:44 -07:00
Sam Tobin-Hochstadt
1873ecf918 Make use of more function type helpers in serialization.
original commit: 28b81183de8836d66a4f16a33355d2df90fb7326
2013-09-11 18:09:23 -04:00
Sam Tobin-Hochstadt
1819be0098 This list was pointless.
original commit: c87bec369ae2d4db0f1d2ba13d4d7f8c52bc081c
2013-09-11 18:09:07 -04:00
Sam Tobin-Hochstadt
862ceb8850 Declare a few more type values to avoid reconstructing.
original commit: ece6e9e15e866e9d62aa45300dc8d515d8ad8088
2013-09-11 18:08:35 -04:00