Sam Tobin-Hochstadt
1505c7c3de
so close
...
original commit: d935b63290b1aae41b61c772f9a3a728350a1b11
2010-04-27 09:50:39 -04:00
Sam Tobin-Hochstadt
47dce89a25
more progress towards let
...
original commit: f7bf6d8a220e3d07eb27f6213273dcee5a585b46
2010-04-23 18:36:15 -04:00
Sam Tobin-Hochstadt
f50ace2729
progress towards let
...
original commit: 788630d26a479363f8abe244f70a9b36c107ebab
2010-04-23 16:40:05 -04:00
Sam Tobin-Hochstadt
d5a9325d48
implication works
...
original commit: 2d88d698c20722f59f82e0dd2352e1e1cd067234
2010-04-23 12:31:22 -04:00
Sam Tobin-Hochstadt
07d4b90de3
progress, fix some dumb bugs
...
original commit: 9c59782a37502e0cc45a0261df3930306201f930
2010-04-21 19:00:12 -04:00
Sam Tobin-Hochstadt
f4bd6d4285
typecheck-tests compiles
...
original commit: a979bbdbdfbda13d499533d59f6c304575cfb5a1
2010-04-21 15:07:53 -04:00
Sam Tobin-Hochstadt
f06b81ba16
eta abstraction seems to work
...
original commit: 462b7f1b92300fae8d4a9632ba97432426982aef
2010-04-21 11:34:04 -04:00
Sam Tobin-Hochstadt
ed36f40a4a
finished with the examples
...
original commit: 8bea31d725a3178144d90b53c43dec12bf5c4a4d
2010-04-20 15:30:07 -04:00
Sam Tobin-Hochstadt
083b1e10ae
add tests for occurrence typing work
...
original commit: 5f0597b83463080681d97830708a1a72e3f9bb38
2010-04-20 14:49:38 -04:00
Sam Tobin-Hochstadt
b797c59d21
start removing names
...
original commit: df1572231ea34907db23f7c930a19bea7e4e6249
2010-04-19 17:52:10 -04:00
Sam Tobin-Hochstadt
6890aab175
Update structure types to have constructor ids.
...
Use constructor to generate better contracts for poly structs.
original commit: 41e469d7aefd9aab480594caaba62dd7019ec0fd
2010-04-14 15:06:14 -04:00
Sam Tobin-Hochstadt
ce7df53455
test improvements
...
svn: r18814
original commit: 0c730ae50a4b60a982c0a1e6fee24875f2c630a1
2010-04-14 17:11:21 +00:00
Sam Tobin-Hochstadt
063e588872
Fix thinko in subtyping.
...
svn: r18802
original commit: 25a817e4aa7a74f3148b56ffb9f627ee4f0329f3
2010-04-12 22:23:39 +00:00
Noel Welsh
707dae25ca
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
original commit: cfab7a8d97c62814973a8b0e74089233873a896e
2010-03-30 13:33:45 +00:00
Sam Tobin-Hochstadt
af7254875a
a new branch of the whole tree
...
svn: r18648
original commit: d4e0c16d55c167dbef9eefac8b4820fbada0f6b1
2010-03-27 14:49:58 +00:00
Sam Tobin-Hochstadt
8e2865524c
add simple tests
...
svn: r18638
original commit: 752e93fc88111d4edd189eef4a3dc133dd7269d5
2010-03-27 00:31:29 +00:00
Noel Welsh
e1072ebb22
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
original commit: af84b331a13c53709eaba9f0faf7af0c64a000a1
2010-03-24 13:18:37 +00:00
Noel Welsh
39e98488a7
Fix a problem generating contracts for FlVector exports. Add test for problem.
...
svn: r18603
original commit: cf017110a982fb24451691200dc05830136e9833
2010-03-23 10:30:24 +00:00
Noel Welsh
ba3d01e519
Check that the FlVector type is exported. Currently this test fails.
...
svn: r18557
original commit: 5f6aeb364ff0007914809017a4e14f4f3bc65a53
2010-03-17 15:26:30 +00:00
Noel Welsh
9cf45f3392
Add FlVector types to Typed Scheme and bindings for all flvector operations in scheme/flonum and scheme/unsafe/ops.
...
svn: r18555
original commit: 39a1489403db3184b23622dfde17548d65681f6a
2010-03-17 14:49:29 +00:00
Stevie Strickland
78214ab410
Correct with-type so it handles result types of the form (values t ...).
...
svn: r18531
original commit: 7b831e86a6e70edafb2993f3169d891d27fa5d77
2010-03-14 02:32:20 +00:00
Sam Tobin-Hochstadt
0a828f2262
Prevent unbound identifiers from being in the base env.
...
Fix some bugs caught by this.
svn: r18526
original commit: 9035e2e58457bd635ceb739f3d021e30fc7262b2
2010-03-12 16:25:40 +00:00
Noel Welsh
19cdb4f096
Add tests for all the fixnum operations. This only checks that the operations have types; semantics and completely specified types aren't rigourously checked.
...
svn: r18523
original commit: 97924ffc65b5b5ded6f2b4436cde51ed00462e03
2010-03-12 12:13:10 +00:00
Sam Tobin-Hochstadt
db56dfd7d6
Null does not overlap with structs.
...
svn: r18508
original commit: b3be4f32f7dceb402dbfc2bce35a8db466c16219
2010-03-10 23:43:47 +00:00
Sam Tobin-Hochstadt
2f1771b849
Add `define-predicate'
...
svn: r18497
original commit: c24daa5dbb2e4a503e81385620008b70d044f76c
2010-03-10 00:10:03 +00:00
Sam Tobin-Hochstadt
79c93700c7
Fix PR 10813
...
svn: r18477
original commit: 87f978e59ecb88b19391e2210b6b3cb550e4df25
2010-03-05 21:52:54 +00:00
Sam Tobin-Hochstadt
1e35d3a083
Use `current-contract-region' appropriately.
...
Maintain source locations.
Fix PR 10776.
svn: r18421
original commit: 65b12a2af3a487da88a0d354586e533516273d39
2010-03-01 23:43:15 +00:00
Sam Tobin-Hochstadt
ff6ad0c29d
Fix bug 10763.
...
svn: r18418
original commit: 12257912e3a39efcd20bcd0ec3e778c630879577
2010-03-01 22:48:11 +00:00
Sam Tobin-Hochstadt
b0a1fde7aa
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
original commit: 78c14e434b7f6dffc6c404d090b449b097e96cfb
2010-03-01 22:31:24 +00:00
Sam Tobin-Hochstadt
a47ed6d95a
Fix tests to use `test-suite' to delay execution.
...
Move hiding of errors down in stack.
svn: r18381
original commit: 31f0b5e305f95af45772ff11e4b04bf332ead59a
2010-02-27 15:07:45 +00:00
Stevie Strickland
a92cd6cdce
Add `unregister-type'
...
Add type regions.
Untyped lexical vars not an internal error.
svn: r18374
original commit: 8e3a67936eeb14fc08279a075966f93e35209f23
2010-02-27 01:26:16 +00:00
Sam Tobin-Hochstadt
d98d962195
use new schemeunit
...
svn: r18361
original commit: 21d0dfcf09b7ef168f7d4e861aad2e3ee062352a
2010-02-26 20:44:30 +00:00
Sam Tobin-Hochstadt
43c22f41e5
fix comment, add test
...
svn: r18307
original commit: 1616e27b4b0a2a8cb1ad419933fdd38894c7a882
2010-02-23 21:36:53 +00:00
Sam Tobin-Hochstadt
b0a08fe0b8
providing static struct information to untyped code works
...
svn: r18198
original commit: 33c18b3985bce1bab5028c67e06eec5335722eb4
2010-02-19 23:27:06 +00:00
Sam Tobin-Hochstadt
a61aef0339
Generate proper contracts for polymorphic struct types.
...
Document `Nothing'.
svn: r18074
original commit: 90c8fcff1194799ed6f522e7554d49571b1f3074
2010-02-12 21:57:58 +00:00
Sam Tobin-Hochstadt
00bd3adab8
More restrictive handling of contracts for the `Any' type.
...
svn: r18043
original commit: 8bf908d1061510198bb6a155fee7a25312bea714
2010-02-10 20:45:50 +00:00
Sam Tobin-Hochstadt
0db7c6d821
Fix a number of bugs reported by eli
...
svn: r18017
original commit: 55a48ca594bc7e3834bfbebea7fc5a1967c278d1
2010-02-08 18:17:15 +00:00
Sam Tobin-Hochstadt
4c1cf6b520
Add supertypes for mutable types, so that predicates work correctly.
...
svn: r17971
original commit: 318833f4226d9249077c772f87ee705ecfd4c617
2010-02-04 23:39:15 +00:00
Sam Tobin-Hochstadt
34bb0090a0
Correct typing for `or'.
...
svn: r17665
original commit: 3fc133a0b84476a121b129f41e2c260e0d4593c0
2010-01-15 19:39:46 +00:00
Sam Tobin-Hochstadt
12be4e80ab
Syntax for predicates with non-empty paths
...
svn: r17660
original commit: 5e1b355e325a8a910911caaa25069b51eea7cd7b
2010-01-14 23:17:56 +00:00
Sam Tobin-Hochstadt
aac0a48ef4
update to the final version of this code
...
svn: r17658
original commit: d69c96cf06ccc0f6bef7734d679329e9fa320db1
2010-01-14 22:09:31 +00:00
Sam Tobin-Hochstadt
a1062c49f9
Types for the other `check-expect'-style forms.
...
svn: r17657
original commit: 104adf9c62a458e848019fc2331184c8c83ab29e
2010-01-14 21:24:47 +00:00
Sam Tobin-Hochstadt
8fd1b8c69e
Paths for first' and
rest'
...
svn: r17654
original commit: 1ab2a41092d9b64a3d7744bd7f0c3fea7248c021
2010-01-14 20:00:37 +00:00
Sam Tobin-Hochstadt
fba861f6df
Typecheck `or' correctly.
...
svn: r17653
original commit: 33592b4f6c40faf63015fcf33e1874322007b03c
2010-01-14 19:53:28 +00:00
Sam Tobin-Hochstadt
62d3dc1466
Propogate expected type through `reverse'.
...
New loop special case for `for/list'.
svn: r17609
original commit: 4fa4f6fd2d814de10e84300d1da76a311bf85160
2010-01-11 20:48:26 +00:00
Sam Tobin-Hochstadt
b7c5360562
`andmap' now works as a predicate in Typed Scheme
...
svn: r17575
original commit: f13453e8893ed86e7f90a596e80aed9e61755d89
2010-01-08 19:05:58 +00:00
Sam Tobin-Hochstadt
9364f5b9cc
use of member, memq, memv as predicates working properly
...
svn: r17568
original commit: 05a0e722f9b64d0d53fb5b168181b467a4711ec7
2010-01-08 15:55:32 +00:00
Sam Tobin-Hochstadt
9e17eab6d8
Create new `typed/test-engine' collection.
...
Remove dependence of `typed-scheme' on `test-engine'.
svn: r17567
original commit: 0d46fcb48a2865dd8bae8e229e8ffb4e3a2c9521
2010-01-08 15:38:17 +00:00
Sam Tobin-Hochstadt
e0ceba24a8
`member' can now be used a predicate.
...
svn: r17554
original commit: b7f989943931dbd7aec58f238a9e9c66c1142f3b
2010-01-07 22:11:54 +00:00
Sam Tobin-Hochstadt
cffc0e2563
Better error message for functions that don't have the same arity as
...
the expected.
Add some tests for errors.
svn: r17551
original commit: eaad64d6120e70e59200fb2cec58f4af5a777ed4
2010-01-07 21:45:57 +00:00