Commit Graph

678 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
0804e64695 everything but or and implies works 2010-04-21 18:13:13 -04:00
Sam Tobin-Hochstadt
c50cb0ff18 Merge branch 'master' into samth/new-logic2 2010-04-21 15:19:36 -04:00
Sam Tobin-Hochstadt
5b5a6980d5 annotated eta works 2010-04-21 14:57:05 -04:00
Sam Tobin-Hochstadt
86c6f3e9c0 icfp-examples no longer errors 2010-04-21 11:41:26 -04:00
Sam Tobin-Hochstadt
462b7f1b92 eta abstraction seems to work 2010-04-21 11:34:04 -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
99cfb23f22 simple-occur now works 2010-04-20 13:07:38 -04:00
Sam Tobin-Hochstadt
7b875d58a9 relocate object subst code, work on fixing for indexes 2010-04-20 12:39:25 -04:00
Sam Tobin-Hochstadt
613f02a266 use the provide infrastructure for arr 2010-04-20 12:38:00 -04:00
Sam Tobin-Hochstadt
c3304b20f0 re-enable abstract-filter 2010-04-19 19:42:08 -04:00
Sam Tobin-Hochstadt
f57ef37a66 Everything now compiles without names 2010-04-19 18:42:25 -04:00
Sam Tobin-Hochstadt
df1572231e start removing names 2010-04-19 17:52:10 -04:00
Sam Tobin-Hochstadt
fca1044972 Merge branch 'master' into samth/new-logic2 2010-04-19 16:14:11 -04:00
Sam Tobin-Hochstadt
41e469d7ae Update structure types to have constructor ids.
Use constructor to generate better contracts for poly structs.
2010-04-14 15:06:14 -04:00
Sam Tobin-Hochstadt
0c730ae50a test improvements
svn: r18814
2010-04-14 17:11:21 +00:00
Sam Tobin-Hochstadt
25a817e4aa Fix thinko in subtyping.
svn: r18802
2010-04-12 22:23:39 +00:00
Sam Tobin-Hochstadt
0b55e34853 Enable proper reader and repl config for typed/scheme
svn: r18773
2010-04-09 20:06:53 +00:00
Sam Tobin-Hochstadt
24ad4005e8 fix doc bugs reported by danny
svn: r18765
2010-04-08 20:11:39 +00:00
Noel Welsh
cfab7a8d97 Add type definition for unsafe-vector*-ref and unsafe-vector*-length, which have recently been introduced, and a test case for in-vector (which uses the above).
svn: r18667
2010-03-30 13:33:45 +00:00
Sam Tobin-Hochstadt
d4e0c16d55 a new branch of the whole tree
svn: r18648
2010-03-27 14:49:58 +00:00
Noel Welsh
302555cf01 Add types for most of Byte and String Output (Section 12.3 of the Reference). Only functions that need an Event type (i.e. matching evt?) are missing. They are commented out as a placeholder for future additions.
svn: r18628
2010-03-26 14:48:33 +00:00
Noel Welsh
af84b331a1 Add the fx to fl conversion functions to Typed Scheme
Add tests for flonum operations to Typed Scheme test suite

Fix the compiler bug tests above uncovered

svn: r18609
2010-03-24 13:18:37 +00:00
Noel Welsh
7c55242179 Add the full suite of fl and unsafe-fl operations to Typed Scheme
Correct an error in documentation of flmin and flmax -- they were documented as taking a single argument when in fact they take two.

svn: r18604
2010-03-23 12:24:50 +00:00
Noel Welsh
cf017110a9 Fix a problem generating contracts for FlVector exports. Add test for problem.
svn: r18603
2010-03-23 10:30:24 +00:00
Sam Tobin-Hochstadt
d58bf1521b added (disabled) optimization
svn: r18567
2010-03-17 19:25:21 +00:00
Sam Tobin-Hochstadt
31911dba55 add FlVector as a type
svn: r18559
2010-03-17 17:00:14 +00:00
Sam Tobin-Hochstadt
fe68168e3d these operations do not exist
svn: r18558
2010-03-17 16:51:04 +00:00
Noel Welsh
39a1489403 Add FlVector types to Typed Scheme and bindings for all flvector operations in scheme/flonum and scheme/unsafe/ops.
svn: r18555
2010-03-17 14:49:29 +00:00
Sam Tobin-Hochstadt
b9902e5145 Actual contracts for classes. Yay sstrickl!
svn: r18547
2010-03-15 18:21:15 +00:00
Stevie Strickland
bf56a108fe Need scheme/class's init for use in class/c form.
svn: r18543
2010-03-15 09:04:10 +00:00
Stevie Strickland
5a488ae7cb Add handling of by-name inits to commented-out class/c use in typed-scheme.
Also, fix class/c section of reference slightly by mentioning the role of
external contracts in class instantiation.

svn: r18542
2010-03-15 08:57:41 +00:00
Stevie Strickland
7b831e86a6 Correct with-type so it handles result types of the form (values t ...).
svn: r18531
2010-03-14 02:32:20 +00:00
Sam Tobin-Hochstadt
9035e2e584 Prevent unbound identifiers from being in the base env.
Fix some bugs caught by this.

svn: r18526
2010-03-12 16:25:40 +00:00
Noel Welsh
a8b5f4275a Add scheme/fixnum to the list of require'd modules, meaning the type declarations for fixnum operations are actually bound to the correct functions and so Typed Scheme programs using fixnum ops will actually compile.
svn: r18522
2010-03-12 10:58:26 +00:00
Sam Tobin-Hochstadt
b3be4f32f7 Null does not overlap with structs.
svn: r18508
2010-03-10 23:43:47 +00:00
Sam Tobin-Hochstadt
24b9078560 update docs to use `define-type'
document `define-predicate'

svn: r18498
2010-03-10 00:17:33 +00:00
Sam Tobin-Hochstadt
c24daa5dbb Add `define-predicate'
svn: r18497
2010-03-10 00:10:03 +00:00
Sam Tobin-Hochstadt
87f978e59e Fix PR 10813
svn: r18477
2010-03-05 21:52:54 +00:00
Sam Tobin-Hochstadt
e703d52b94 fix PR10810
svn: r18470
2010-03-04 21:42:55 +00:00
Sam Tobin-Hochstadt
b020c8dc21 fix some unfortunate bugs
svn: r18433
2010-03-02 20:37:36 +00:00
Sam Tobin-Hochstadt
65b12a2af3 Use `current-contract-region' appropriately.
Maintain source locations.
Fix PR 10776.

svn: r18421
2010-03-01 23:43:15 +00:00
Sam Tobin-Hochstadt
3ea26dee84 Re-enable printing
svn: r18420
2010-03-01 22:56:03 +00:00
Sam Tobin-Hochstadt
33db456f9e fix PR 10735
svn: r18419
2010-03-01 22:51:42 +00:00
Sam Tobin-Hochstadt
12257912e3 Fix bug 10763.
svn: r18418
2010-03-01 22:48:11 +00:00
Sam Tobin-Hochstadt
079c430e89 fix doc typo
svn: r18417
2010-03-01 22:32:48 +00:00
Sam Tobin-Hochstadt
78c14e434b Add `with-type' for defintions, add #:result keyword.
Fix contract for top-arr.
Remove static version of printing conditional.
Fix brokenness in print-converting.

svn: r18416
2010-03-01 22:31:24 +00:00
Sam Tobin-Hochstadt
68c46cca9a fix with-types requires on windows
svn: r18387
2010-02-27 19:21:42 +00:00
Sam Tobin-Hochstadt
6c4b1234bf remove obsolete doc files
eliminate repeated expansion

svn: r18382
2010-02-27 16:24:22 +00:00
Stevie Strickland
8e3a67936e Add `unregister-type'
Add type regions.
Untyped lexical vars not an internal error.

svn: r18374
2010-02-27 01:26:16 +00:00
Sam Tobin-Hochstadt
144a25ffd4 whoops
svn: r18364
2010-02-26 21:04:00 +00:00