Commit Graph

478 Commits

Author SHA1 Message Date
Vincent St-Amour
e9a0014630 Disabled multi-valued seq-exprs in the for: macros because using them
triggers an internal error in the typechecker.
2010-05-28 19:05:44 -04:00
Vincent St-Amour
49caa00890 Added the for*/X: macros. 2010-05-28 19:05:43 -04:00
Vincent St-Amour
08baa400c3 Punted #:when clause expansion in the for: macros to their
non-annotated counterparts, except in the case of for: itself, where
it doesn't break the semantics of the underlying macro.
2010-05-28 19:05:43 -04:00
Vincent St-Amour
1ec6bd448b Added the for/lists: and for/fold: macros. 2010-05-28 19:05:43 -04:00
Vincent St-Amour
3518428635 Better support for #:when clauses in the for: macros. 2010-05-28 19:05:42 -04:00
Sam Tobin-Hochstadt
9701ae0065 Avoid requiring old base-types. 2010-05-27 10:56:18 -04:00
Sam Tobin-Hochstadt
40c77586a0 Better type for `round'. 2010-05-27 10:10:26 -04:00
Vincent St-Amour
e3b994abff Typed Scheme's optimizer now recognizes specialized (safe) float
operations.
2010-05-26 19:48:30 -04:00
Vincent St-Amour
762f108c04 Fixed a bug in typed Scheme's optimizer when using binary arithmetic
operators in a unary fashion with floats.
2010-05-26 19:48:30 -04:00
Vincent St-Amour
664ef2c0a3 Extended the type signatures of bitwise operations to be closed on naturals. 2010-05-26 19:48:29 -04:00
Vincent St-Amour
5213f54f56 Added the for:, for/list:, etc macros. 2010-05-26 19:48:15 -04:00
Vincent St-Amour
23f30af459 Rewrote do: to expand into do. 2010-05-26 19:20:32 -04:00
Sam Tobin-Hochstadt
27e971dce2 Check that at least one require spec is provided.
Closes PR 10617.
 Merge to v5.0.
2010-05-24 22:33:31 -07:00
Sam Tobin-Hochstadt
f320d36e9c Fix parsing of All on RHS of -> 2010-05-24 13:26:29 -07:00
Sam Tobin-Hochstadt
601e693b01 Improve type of count and vector-count. 2010-05-22 18:07:50 -04:00
Vincent St-Amour
fece1f6d03 Fixed a bug with Typed Scheme's do: with no finish-expr.
Include in 5.0 release.
2010-05-21 19:31:43 -04:00
Vincent St-Amour
88dc30aa3c Extended the type signatures of trigonometric operations.
Include in 5.0 release.
2010-05-21 19:31:42 -04:00
Sam Tobin-Hochstadt
230f1a59c6 More precise types for: truncate, floor ceiling 2010-05-21 10:41:24 -04:00
Vincent St-Amour
3e757d0fb1 Added logging to typed Scheme's optimizer. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
7adedacf2b Extended the typed Scheme optimizer to handle all the core forms. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
b543177868 Extended typed Scheme's optimizer to traverse more forms. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
f2edae0e9a Typed Scheme's optimizer can now generate unsafe car and cdr. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
f77e4eeb41 Added some special cases to type signatures for pair accessors. 2010-05-19 13:10:36 -04:00
Vincent St-Amour
eb95b35a12 Fixed a typo in typed Scheme's base env. 2010-05-19 13:10:36 -04:00
Vincent St-Amour
849ee86c85 Added type signatures to more pair accessors in typed Scheme's base env. 2010-05-19 13:10:36 -04:00
Vincent St-Amour
b64fb126f6 Added type signatures for caar and some others to typed Scheme's base env. 2010-05-19 13:10:35 -04:00
Sam Tobin-Hochstadt
756bcc8a5e Documentation for heterogenous vectors.
Closes PR 10291.
2010-05-19 11:08:28 -05:00
Sam Tobin-Hochstadt
638245e4c5 Better type annotation support.
- Delay more errors for additional reporting.
 - Don't re-check expressions that were checked for inference.
 Closes PR 10098.
2010-05-19 10:10:54 -05:00
Sam Tobin-Hochstadt
d2a1470ea5 Fix repeated type ascription. 2010-05-17 16:20:44 -05:00
Sam Tobin-Hochstadt
7ac925695f more sensible version of het vectors.
add vector-length, vector-set!
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
2c03f2223b mostly done with heterogenous vectors 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
daf43d1702 more lost changes 2010-05-12 17:25:53 -04:00
Sam Tobin-Hochstadt
70d498beeb re-add bindings lost in merge 2010-05-12 17:22:13 -04:00
Sam Tobin-Hochstadt
dbe9a0f997 debugging 2010-05-12 17:06:04 -04:00
Sam Tobin-Hochstadt
4548426cd4 Merge remote branch 'origin/master' into samth/new-logic2 2010-05-11 15:19:52 -04:00
Sam Tobin-Hochstadt
a6e314d367 add #:optimize keyword 2010-05-10 17:32:53 -04:00
Sam Tobin-Hochstadt
1146ffa76d Merge branch 'master' into samth/new-logic2
Conflicts:
	collects/typed-scheme/private/parse-type.rkt
	collects/typed-scheme/typecheck/tc-app.rkt
2010-05-05 13:35:29 -04:00
Sam Tobin-Hochstadt
ad537cce84 Remove unnecessary requires which caused bizarre errors 2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
9ab4887e58 add type for 2-arg `atan' 2010-05-04 19:47:37 -04:00
Ryan Culpepper
eff9147ddc syntax/parse: literals, literal-sets, and phases (todo: docs)
typed-scheme: added missing import for literal
2010-05-04 14:12:49 -06:00
Sam Tobin-Hochstadt
105a560698 add some vector functions 2010-05-03 18:13:12 -04:00
Sam Tobin-Hochstadt
8c22099aec fix PR 10868 2010-05-03 13:07:30 -04:00
Sam Tobin-Hochstadt
55929072bb change error message for `define:' (fixes PR 10883) 2010-05-03 11:35:30 -04:00
Sam Tobin-Hochstadt
459a675b90 rename to rkt 2010-04-30 09:51:32 -04:00
Sam Tobin-Hochstadt
04f58cab86 Merge remote branch 'origin/master' into samth/new-logic2
Conflicts:
	collects/drscheme/private/insert-large-letters.ss
	collects/tests/typed-scheme/unit-tests/typecheck-tests.ss
2010-04-30 09:34:31 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Sam Tobin-Hochstadt
3311b2bb3a fix asym pred not to use identifiers 2010-04-22 18:27:08 -04:00
Sam Tobin-Hochstadt
c50cb0ff18 Merge branch 'master' into samth/new-logic2 2010-04-21 15:19:36 -04:00
Matthew Flatt
c95a398754 move most of the 'scheme' collection to the 'racket' collection 2010-04-20 15:24:48 -06:00
Sam Tobin-Hochstadt
fca1044972 Merge branch 'master' into samth/new-logic2 2010-04-19 16:14:11 -04:00