Commit Graph

1780 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
417c8a9833 Intern based on sequence numbers for values that have them.
20% speedup on the empty program.  Closes PR 10734.

original commit: 598d81671a5531e41ec25e4e0cec790b4ed3345f
2011-08-26 14:08:40 -04:00
Sam Tobin-Hochstadt
4068b47296 Much more infrastructure for timing typed racket passes.
original commit: 403bb6414e5ba29e653e2c2dd18de076177f440d
2011-08-26 14:08:39 -04:00
Vincent St-Amour
91c229be09 Fix TR printing.
original commit: 62a71227446c417e4c9db820174abd713d0e199a
2011-08-26 14:06:10 -04:00
Sam Tobin-Hochstadt
f11e1b37d0 Generalize #t and #f to `Boolean'.
original commit: ba09e906d8c908a1e57b24a457dfeec0ee4d8ebc
2011-08-26 08:05:44 -04:00
Sam Tobin-Hochstadt
fddf518689 Initial support for standard optional arguments.
original commit: 7dd209f905882300fcc0cd74bbc3565b61112278
2011-08-25 19:00:49 -04:00
Sam Tobin-Hochstadt
a4600be405 Repair type of `find-relative-path'.
original commit: 717476f84df4927cdb2e2ae012ddd3c621892f38
2011-08-25 19:00:49 -04:00
Sam Tobin-Hochstadt
c937f35913 Revise `require/typed' docs. Closes PR 11890.
original commit: 760625c031b0967260d1ff5816affb3a830ae2fb
2011-08-25 14:10:05 -04:00
Sam Tobin-Hochstadt
f0266a6660 Properly parse `Values' in types.
Closes PR 11145.

original commit: 3707310250ce2bdc6a0c31d8a3f8dd15bff639d7
2011-08-25 14:10:05 -04:00
Sam Tobin-Hochstadt
047af2b619 Support vector arguments to `datum->syntax'.
Related to PR 10290.

original commit: 4185da9035fc3c6aa5a5de796f0d6b077e3b72ec
2011-08-25 14:10:05 -04:00
Sam Tobin-Hochstadt
2d731cdfc8 Propagate expected function types propertly in case-lambda.
Closes PR 10139.

original commit: a7cf16d486dbc40febbefc00e6f174c9c4d625de
2011-08-24 15:29:10 -04:00
Sam Tobin-Hochstadt
d81dd2f811 Reuse `case-lambda' syntax in optimizer.
original commit: d6f1c35e1b615e3fc554e310de7ba2bb18217dd6
2011-08-24 15:29:10 -04:00
James Ian Johnson
4a3fbfd4ca Changed rec-id black magic to a more robust syntax parameter solution.
original commit: e12472bdf7c54d3a68e253a1cbb06420ed9961f7
2011-08-22 17:04:16 -04:00
James Ian Johnson
e40f936d52 Fixed a hygiene issue with rep-utils. Rec-ids were in improper phase.
original commit: a873675832ab427739704bf353a068adf05702c3
2011-08-22 17:04:16 -04:00
Sam Tobin-Hochstadt
08ede0e5be Typed version of `racket/date'.
Contracts make it hard to have this library automatically typed.

original commit: e39abf17da79f55966a8e356ee423c902c47614b
2011-08-22 09:46:12 -04:00
Sam Tobin-Hochstadt
4ca62d8404 Useful error message when `with-type' used in a typed module.
original commit: 292feaad43d1c1424eb57e3a115714aec7502f4f
2011-08-19 11:34:37 -04:00
James Ian Johnson
e0b3c29c1c Fixed compile failure.
original commit: 7af3d35bb3a469815286c68150ffb6ba2731eafd
2011-08-19 11:09:24 -04:00
James Ian Johnson
46f0c7574f Removed e from fold-pat attributes.
original commit: 58d84d79dbba094c6f1381b2a278a51a52e1714d
2011-08-19 11:09:24 -04:00
James Ian Johnson
d75ed64227 Fixed a comment inconsistency about double quotation.
original commit: def3834aa2497dba469a86cc67be08bceab87b1a
2011-08-19 11:09:24 -04:00
James Ian Johnson
484d2a90b8 Adding clarifying comments to rep-utils.rkt
original commit: 06edc3153f29e06e654063a9249146d91ad2e2fa
2011-08-19 11:09:24 -04:00
Sam Tobin-Hochstadt
29987d225f Handle apply for functions with no rest arguments.
original commit: bdcc63b2294b0b7bb46cf158ab8a2ad496783cf2
2011-08-17 18:19:47 -04:00
Sam Tobin-Hochstadt
2559ae0055 Simplify definition of (legacy) `typed-scheme' language.
original commit: 5870fec9c9b88e31d915b26d900a8ff6479edfc8
2011-08-16 14:54:46 -04:00
Vincent St-Amour
a041d3a15a Fix handling of impersonated vectors when bounds are fixnums.
original commit: ff0d843a096224efe7930413d1d22b3ff1be821e
2011-08-16 12:09:39 -04:00
Vincent St-Amour
b7f8546848 Formatting.
original commit: a6e633ae2f89cd240a0119462e773a62915143a1
2011-08-16 12:09:38 -04:00
Vincent St-Amour
6f4746ad75 Make error messages more consistent.
original commit: 59f5f24736998a027f920d481fdd3c60ccaefb59
2011-08-16 12:09:38 -04:00
Sam Tobin-Hochstadt
7ecdc4eff3 Document typed/scheme' versions of require/typed' and `require-typed-struct'.
original commit: 39459ec9c4f16568b0c7bf2dd6bfec96b0ef4688
2011-08-16 12:07:53 -04:00
Sam Tobin-Hochstadt
5334a847b1 DrDr repairs.
original commit: 4c56a94eb11b194060b43d39e5e444454ab41acf
2011-08-16 08:14:39 -04:00
Sam Tobin-Hochstadt
0e17e02751 Refactor unit tests to handle tests that need base-special-env separately.
original commit: c54fc6d6d79cec39fa7236fd314842f809feab73
2011-08-15 21:39:31 -04:00
Sam Tobin-Hochstadt
ec40b5be8f Refactor base-special-env to run at phase 0.
Unfortunately, it can no longer be required normally, and forces changes to test suites.

original commit: 8ecc2a4da4c995a83ddc630ab274859f47597fc6
2011-08-15 21:39:31 -04:00
Sam Tobin-Hochstadt
ab46be4998 Better error message when id is unbound in `make-env'.
original commit: 11167aa21428833fe2dbbb33301d9c7e43544e8b
2011-08-15 21:39:31 -04:00
Sam Tobin-Hochstadt
14d059022a Fix type of file->bytes-lines
original commit: 13ef3849fcee7fa8a7bd5ecf988ed0bb4fbcf84a
2011-08-15 21:39:30 -04:00
Sam Tobin-Hochstadt
2ae93408c1 re-enable type for port->bytes-lines
original commit: b25aae230be253861800c483aa0b7f2ffbb1315c
2011-08-15 21:39:30 -04:00
Vincent St-Amour
5e92d965a6 Remove redundant logging message.
original commit: 8dba93646a0fb6b2ff8ffe230342e5276a0d16f6
2011-08-15 12:19:54 -04:00
Vincent St-Amour
086e0e7ccc Fix arity raising for letrec.
original commit: 2a80582ed97e93b3c85ae8fbc21bfc7eeab05947
2011-08-15 12:19:54 -04:00
Vincent St-Amour
2bf7ce50ed Formatting.
original commit: 63b5747018f5c8cfa585016346e7a7b5dbabd38e
2011-08-15 12:19:54 -04:00
Vincent St-Amour
a05162c6df Have arity raising play nice with Check Syntax.
original commit: becaac8c1841638350dec7e59f92efe37885aa7d
2011-08-15 12:19:54 -04:00
Vincent St-Amour
4ec5413e5f Fix visibility of arity-raised bindings.
original commit: b536445cdee2ad256284a780d4b1187ac3322dd9
2011-08-15 12:19:54 -04:00
Sam Tobin-Hochstadt
fb381b7dfd comment out type that produces strange duplicate error message.
original commit: fdcb22ea32b700c0c56895b86dc5330191d7f065
2011-08-14 13:40:42 -04:00
Sam Tobin-Hochstadt
06367272b6 Fix initial type environment for new-style keyword functions.
original commit: 54c044c36a5738a862379e4f10d0b9453c8e27b0
2011-08-14 13:40:42 -04:00
Sam Tobin-Hochstadt
ff7de23488 Fix typechecking of `#%variable-reference'
original commit: 2d094db270cf25f1b301b062a393b8f44b75c63c
2011-08-14 13:40:42 -04:00
Sam Tobin-Hochstadt
20c54979a9 Use syntax-track-origin more pervasively to get the right arrows in check syntax.
original commit: d948626fac529ba8325ffe712f192edb4e5329d5
2011-08-12 11:09:11 -04:00
Vincent St-Amour
bc5339d19c Add disappeared uses to have optimized code play nice with check-syntax.
original commit: 281e1003e3ef60892188e8b4f5313f8fdd9e4c72
2011-08-11 18:25:46 -04:00
Vincent St-Amour
9f8918b441 Refactoring.
original commit: 271f696c5846c3e026507d5e47c648a23e5ad2ed
2011-08-11 18:25:46 -04:00
Vincent St-Amour
5d94df5648 Rename a parameter to better reflect what it's for.
original commit: cef410f5e2e6e5728cf1bc8769607f637365683f
2011-08-11 18:25:46 -04:00
Robby Findler
f38df9c69b change the #:get-lock-file argument of call-with-file-lock/timeout to #:lock-file
original commit: 997813680db107a75dae889f73bc3da5ce00806f
2011-08-11 09:29:31 -05:00
Asumu Takikawa
2673b89af3 Added a match expander for objects in unstable.
original commit: d12b617292c284c4a4c18cf926b198487a8c070a
2011-08-10 20:37:21 -04:00
Vincent St-Amour
024e04015c More TR test failures more easily detectable.
original commit: 8bcb7f26362857fad84b9dec9cf30707520d97d2
2011-08-10 15:45:54 -04:00
Tony Garnock-Jones
8d95d8065c Correct type on typed variant of module->namespace.
original commit: 54285e2f922537a3f10d24ee99c4381666bf9a90
2011-08-04 13:34:14 -04:00
Vincent St-Amour
9c848fe5a5 Break long lines.
original commit: 5d4e5ed39352b4a1e87c5ebd9c796cc5953064a5
2011-08-03 17:39:16 -04:00
Vincent St-Amour
ffcc7e9f92 Improve error message for calls to 'sort' when inference fails.
original commit: b124d68f402ce99ddec58482be40ce279f3f4a04
2011-08-03 17:39:15 -04:00
Vincent St-Amour
ada104f62e Abstract printing of function types.
original commit: 1a661256f8c631a576fcac9100cb54c5400dd566
2011-08-03 17:39:14 -04:00