Vincent St-Amour
00444e8b41
Extended the type signatures of trigonometric operations.
...
Include in 5.0 release.
original commit: 88dc30aa3c1fcc0707a440aa9e9558d0e1764bb5
2010-05-21 19:31:42 -04:00
Sam Tobin-Hochstadt
5a0e07e296
More precise types for: truncate, floor ceiling
...
original commit: 230f1a59c6bb51bf69c1651cadb3a77868bcbef5
2010-05-21 10:41:24 -04:00
Sam Tobin-Hochstadt
291937c278
Allow expected type to have weaker filters and objects.
...
Closes PR 10729.
original commit: 9fe3747a19e38d2041814d897f7db0e67d02a0e0
2010-05-19 15:14:18 -05:00
Sam Tobin-Hochstadt
1e25674287
Allow recursive types in type annotations for `list'.
...
Closes PR 10562.
Tests for fixed bugs.
original commit: 7e9313bad3c8f8b7d6e0241f6904dce45ac77786
2010-05-19 15:14:18 -05:00
Vincent St-Amour
d27153b74c
Added logging to typed Scheme's optimizer.
...
original commit: 3e757d0fb199d0cd565d2c094584a737be00942f
2010-05-19 13:10:37 -04:00
Vincent St-Amour
e78937195c
Extended the typed Scheme optimizer to handle all the core forms.
...
original commit: 7adedacf2b6acb1c8cea34aae4e8e12009141adf
2010-05-19 13:10:37 -04:00
Vincent St-Amour
a781b50533
Extended typed Scheme's optimizer to traverse more forms.
...
original commit: b543177868f97a7cfe0bdf57f555da4d580ef726
2010-05-19 13:10:37 -04:00
Vincent St-Amour
1f7ab8285d
Typed Scheme's optimizer can now generate unsafe car and cdr.
...
original commit: f2edae0e9a42e0bdb5c53224a3525edc8a6fd4d7
2010-05-19 13:10:37 -04:00
Vincent St-Amour
40360c095e
Added some special cases to type signatures for pair accessors.
...
original commit: f77e4eeb418ffc1a626d40b97e56d1cfbac6c47d
2010-05-19 13:10:36 -04:00
Vincent St-Amour
3ba7e83662
Fixed a typo in typed Scheme's base env.
...
original commit: eb95b35a12e886f6678f62f69990b4553684680c
2010-05-19 13:10:36 -04:00
Vincent St-Amour
e381611808
Added type signatures to more pair accessors in typed Scheme's base env.
...
original commit: 849ee86c855999daf91947bd26fadb4e296dfaa3
2010-05-19 13:10:36 -04:00
Vincent St-Amour
548e080a03
Added type signatures for caar and some others to typed Scheme's base env.
...
original commit: b64fb126f652a239404413db2db87c239db9b967
2010-05-19 13:10:35 -04:00
Sam Tobin-Hochstadt
87ff7915f6
Documentation for heterogenous vectors.
...
Closes PR 10291.
original commit: 756bcc8a5e6509b2729ecfb5a20fed448224381f
2010-05-19 11:08:28 -05:00
Sam Tobin-Hochstadt
eb9f6a9916
Better type annotation support.
...
- Delay more errors for additional reporting.
- Don't re-check expressions that were checked for inference.
Closes PR 10098.
original commit: 638245e4c52f6bdaba7d62ac3d88a24462a09ace
2010-05-19 10:10:54 -05:00
Sam Tobin-Hochstadt
d30ba6ac02
More fixes for Vincent.
...
original commit: 535dc73fad6d22a5a057d18aa0ba4ff00f926810
2010-05-17 18:03:34 -04:00
Sam Tobin-Hochstadt
29cd6cac2f
Fix repeated type ascription.
...
original commit: d2a1470ea51b5ca55656833f95dacd5ae7ba1285
2010-05-17 16:20:44 -05:00
Sam Tobin-Hochstadt
2776f825c2
Fix internal error detected by vincent.
...
original commit: 7ecf424ff88d0365da3be7af3051b0acc2cfe1ab
2010-05-17 16:06:27 -05:00
Sam Tobin-Hochstadt
7b401c4e80
Add annotation to test.
...
Fix default case for `vector-set!'
original commit: 21b5c25c90a323d443b9611d9c0d30d30afb7dea
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
479db80e36
sensible handling of literal vectors
...
original commit: ff36a6e8d1595cd0ee0c495efe240ebc23707419
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
6f16d9e2d6
more sensible version of het vectors.
...
add vector-length, vector-set!
original commit: 7ac925695fadf3c8af20b2d65037c8bc6310f9b4
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
597a8151b3
fix typo
...
original commit: 798a7f2a3c2189f14cc99143143be86c4eb0b2b5
2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
a4717c49ef
Fix het vec with strange expected types
...
original commit: f40000c9c752b79d029cf2328425c5b012c16d47
2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
cd0c71d923
Finish het vectors
...
original commit: ec14f2c0b81ee4e5052555cbdabfd0a53c821bec
2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
2fdcb1ef9a
mostly done with heterogenous vectors
...
original commit: 2c03f2223b55483bc02d66946097ed17e63529f3
2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
15b1f6378b
Fix w/c to handle expression form of with-contract, and disable internal contracts.
...
original commit: 684ae395e648f22e38f1fa55aa6c0f48a60fbd5e
2010-05-13 14:41:59 -04:00
Sam Tobin-Hochstadt
bf8b4e8080
Don't generate extra filters unless they're useful.
...
original commit: 814c02664ee7892af26f6c0d0b8d90cbf55bdc4a
2010-05-13 13:37:24 -04:00
Sam Tobin-Hochstadt
7cff4534ab
Don't generate type filters for mutated variables.
...
original commit: 8d59ee77e4eefca21f2e27140d2b8bcdf691105e
2010-05-13 13:24:41 -04:00
Sam Tobin-Hochstadt
2f061da0ea
abstract even when out of bindings
...
original commit: a7a56ce856e4082b951be6c51d762eb19f97d5e7
2010-05-12 21:34:18 -04:00
Sam Tobin-Hochstadt
2ceba6db20
Fix typo
...
original commit: 264bf78559a67d49e87581944d25a9a6b0bd0150
2010-05-12 18:43:55 -04:00
Sam Tobin-Hochstadt
772abbfa81
Updates along useless paths are not errors.
...
original commit: 4ceda9970005b4da3b56b0e48a0d69de05e3fa54
2010-05-12 18:24:19 -04:00
Sam Tobin-Hochstadt
5fb5d7125b
Allow dummy filtersets
...
original commit: 41f0152435e5f8ae7edefa75b1c4e965cf6349df
2010-05-12 17:31:58 -04:00
Sam Tobin-Hochstadt
d1153d23e0
more lost changes
...
original commit: daf43d1702800a47210489080f47a1bc14386ace
2010-05-12 17:25:53 -04:00
Sam Tobin-Hochstadt
35a4584929
re-add bindings lost in merge
...
original commit: 70d498beeb438e871c7d9b140584fc0d581af4ae
2010-05-12 17:22:13 -04:00
Sam Tobin-Hochstadt
620fb6182a
debugging
...
original commit: dbe9a0f997461f209c6893479b2fe76f9c0384e0
2010-05-12 17:06:04 -04:00
Sam Tobin-Hochstadt
136f0942bd
Descend into path elements.
...
original commit: 6f7e88cfef024c4207d8187c0c9c2a4d0da19875
2010-05-12 17:04:43 -04:00
Sam Tobin-Hochstadt
b0b01fa807
flatten and filters before using them
...
original commit: e0c82c8ac6d4400c723d2ebace2f8efadd3fd923
2010-05-12 15:10:37 -04:00
Sam Tobin-Hochstadt
2f671bdbff
Fix contracts.
...
Handle improper formals lists.
original commit: e7c8ffb834f78bbe83033a8a1dbbfa27c829eddc
2010-05-12 11:53:27 -04:00
Sam Tobin-Hochstadt
da5bdb841a
switch to typed/
...
original commit: 5a8fac0bdf9f4a93d2407c309c7c7110d5c029b3
2010-05-12 11:52:11 -04:00
Sam Tobin-Hochstadt
ecbd63562b
fix handling when subtype doesn't have rest arg
...
original commit: 2d1625336e2512ba4df3a93fc28682c32be48ceb
2010-05-10 17:53:48 -04:00
Sam Tobin-Hochstadt
5cb9ec4f09
add #:optimize keyword
...
original commit: a6e314d367062858e1bf23027638c8ee66ff31ea
2010-05-10 17:32:53 -04:00
Sam Tobin-Hochstadt
cd4744d11b
use aux function to avoid generating useless filters
...
original commit: c031729e4bcd46fab66ed1c3b0aa6578563126ec
2010-05-10 17:03:21 -04:00
Sam Tobin-Hochstadt
fb755e912c
don't add to identifiers
...
original commit: 6baef71d57af67f230a0f8efb23fb2d7294f1e9c
2010-05-10 16:09:47 -04:00
Sam Tobin-Hochstadt
5912a6243a
more contract fixes
...
original commit: 52c1f41a2036906ab6462abd5479053e2894b1ca
2010-05-10 15:50:24 -04:00
Sam Tobin-Hochstadt
5557322514
use racket/base
...
original commit: 1bbb857b18fa2fa6fb3be2387c51367d984a1799
2010-05-10 15:43:03 -04:00
Sam Tobin-Hochstadt
bd2e4e09ad
fix contract error, use the same contract for drest everywhere
...
original commit: d75232baa0a6076b2e16e73afcdc3fa79eb682a1
2010-05-10 15:42:45 -04:00
Sam Tobin-Hochstadt
d483be21af
avoid trying to reconstruct bogus arrow type, use dummy instead
...
original commit: 8461045e8cfaf2dbd4fffb88eed046c44276796a
2010-05-10 15:42:23 -04:00
Sam Tobin-Hochstadt
3dfdcf9722
fix `implied-atomic?'
...
original commit: b1a49470eeaae287a8b2754308c476c3257434af
2010-05-10 11:51:18 -04:00
Sam Tobin-Hochstadt
1da306516a
rackety TS docs
...
original commit: 9ccd44e8fd023e6e607233cd46dfae31f90679d3
2010-05-09 12:35:59 -04:00
Sam Tobin-Hochstadt
80e644c20d
produce the correct type
...
original commit: 62af50867a825aab3572a442276921b205180a3a
2010-05-05 17:50:20 -04:00
Sam Tobin-Hochstadt
153a5db15b
Remove unnecessary requires which caused bizarre errors
...
original commit: ad537cce84c9c0f16183563419512c67ad1d9ccc
2010-05-04 19:47:38 -04:00