Sam Tobin-Hochstadt
2681178ffc
Avoid requiring old base-types.
...
original commit: 9701ae0065dbc54f36059b20a78a917a20ae18e5
2010-05-27 10:56:18 -04:00
Sam Tobin-Hochstadt
53c630bc14
Simpler has-name? implementation.
...
original commit: bd0bcda85e0526e22b31a8dd64dbaf083d0d992a
2010-05-27 10:50:15 -04:00
Sam Tobin-Hochstadt
371934cf82
Fix error message for multiple values.
...
original commit: d4a8c52c7102778e6b1ef8fae8b5c75774069487
2010-05-27 10:10:26 -04:00
Sam Tobin-Hochstadt
b1e9e9ea82
Better type for `round'.
...
original commit: 40c77586a059efc6a09a6ef0bdf73a35808f24b0
2010-05-27 10:10:26 -04:00
Vincent St-Amour
c7db08fcf7
Typed Scheme's optimizer now recognizes specialized (safe) float
...
operations.
original commit: e3b994abfffb0ebc3a5460a0a8730441875ebbb1
2010-05-26 19:48:30 -04:00
Vincent St-Amour
3e3b203726
Fixed a bug in typed Scheme's optimizer when using binary arithmetic
...
operators in a unary fashion with floats.
original commit: 762f108c04b78f14d851b6b93b5bf0c873658399
2010-05-26 19:48:30 -04:00
Vincent St-Amour
1bd4bf1e82
Extended the type signatures of bitwise operations to be closed on naturals.
...
original commit: 664ef2c0a3bb478634591b596f2473f249095e4f
2010-05-26 19:48:29 -04:00
Vincent St-Amour
312671d85d
Added the for:, for/list:, etc macros.
...
original commit: 5213f54f56e6d9d1a14b16fd0348495a20a648e9
2010-05-26 19:48:15 -04:00
Vincent St-Amour
3bbf39b86a
Rewrote do: to expand into do.
...
original commit: 23f30af459b4157c87b62dff535cdd0b7eb46927
2010-05-26 19:20:32 -04:00
Sam Tobin-Hochstadt
3355f0d731
Fix Typed Scheme printing of types.
...
Merge to 5.0.
original commit: 85b59a2f4c99e19948865cabbcfcc0d9b7cca6c0
2010-05-25 07:58:06 -07:00
Sam Tobin-Hochstadt
987521b9eb
Check that at least one require spec is provided.
...
Closes PR 10617.
Merge to v5.0.
original commit: 27e971dce20634fa6be551fecd64e639fbd909aa
2010-05-24 22:33:31 -07:00
Sam Tobin-Hochstadt
1c955c4e56
Better internal error messages.
...
original commit: 460bb348e10f07534bc74e7f91b8b4bc8655ac68
2010-05-24 14:05:05 -07:00
Sam Tobin-Hochstadt
e345eb7448
Print empty filters as -
...
original commit: b21f70408687afa5617230478146ece76d71d53b
2010-05-24 14:04:01 -07:00
Sam Tobin-Hochstadt
af4ff86f52
Remove tc-toplevel from the typechecking unit.
...
original commit: 986318065d71817c59c9571e72fe8abcce4944cd
2010-05-24 14:03:14 -07:00
Sam Tobin-Hochstadt
5ba6d3297f
Only do abstraction of filters at `let's.
...
original commit: 5b0f705b8374a3a136250a40560d4e5e00c6fba3
2010-05-24 14:01:00 -07:00
Sam Tobin-Hochstadt
7692d06741
Fix parsing of All on RHS of ->
...
original commit: f320d36e9c7fc2698d1becff28511dd8413430da
2010-05-24 13:26:29 -07:00
Sam Tobin-Hochstadt
b656915497
Improve verbose printer.
...
- Fewer newlines.
- Avoid printing hidden fields.
original commit: fac0e197cfe75a4a811b0d953674731e8be14e7b
2010-05-24 13:23:37 -07:00
Sam Tobin-Hochstadt
3a0485de2b
Improve type of count and vector-count.
...
original commit: 601e693b01e3091612c3690d834becd0a83d69fb
2010-05-22 18:07:50 -04:00
Sam Tobin-Hochstadt
3257de4bff
Document Exact-Nonnegative-Integer
...
original commit: e6d85175f3713d7e65bdc0219853ff43a94f3e48
2010-05-22 18:03:18 -04:00
Vincent St-Amour
8a00140b63
Fixed a bug with Typed Scheme's do: with no finish-expr.
...
Include in 5.0 release.
original commit: fece1f6d03caea796b99921f1979a652e1a6b97c
2010-05-21 19:31:43 -04:00
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