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
29cd6cac2f
Fix repeated type ascription.
...
original commit: d2a1470ea51b5ca55656833f95dacd5ae7ba1285
2010-05-17 16:20:44 -05: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
2fdcb1ef9a
mostly done with heterogenous vectors
...
original commit: 2c03f2223b55483bc02d66946097ed17e63529f3
2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
d1153d23e0
more lost changes
...
original commit: daf43d1702800a47210489080f47a1bc14386ace
2010-05-12 17:25:53 -04:00
Sam Tobin-Hochstadt
35a4584929
re-add bindings lost in merge
...
original commit: 70d498beeb438e871c7d9b140584fc0d581af4ae
2010-05-12 17:22:13 -04:00
Sam Tobin-Hochstadt
620fb6182a
debugging
...
original commit: dbe9a0f997461f209c6893479b2fe76f9c0384e0
2010-05-12 17:06:04 -04:00
Sam Tobin-Hochstadt
da5bdb841a
switch to typed/
...
original commit: 5a8fac0bdf9f4a93d2407c309c7c7110d5c029b3
2010-05-12 11:52:11 -04:00
Sam Tobin-Hochstadt
5cb9ec4f09
add #:optimize keyword
...
original commit: a6e314d367062858e1bf23027638c8ee66ff31ea
2010-05-10 17:32:53 -04:00
Sam Tobin-Hochstadt
80e644c20d
produce the correct type
...
original commit: 62af50867a825aab3572a442276921b205180a3a
2010-05-05 17:50:20 -04:00
Sam Tobin-Hochstadt
153a5db15b
Remove unnecessary requires which caused bizarre errors
...
original commit: ad537cce84c9c0f16183563419512c67ad1d9ccc
2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
11ae3af9b3
add type for 2-arg `atan'
...
original commit: 9ab4887e580d17d756e70642168c8c2171b92df1
2010-05-04 19:47:37 -04:00
Ryan Culpepper
5f732f0a0a
syntax/parse: literals, literal-sets, and phases (todo: docs)
...
typed-scheme: added missing import for literal
original commit: eff9147ddcf6b8fefb51cb1753ae678c2ac8f0ae
2010-05-04 14:12:49 -06:00
Sam Tobin-Hochstadt
419307edd1
add some vector functions
...
original commit: 105a560698dfa979ab592ceb3c443e9425f2c956
2010-05-03 18:13:12 -04:00
Sam Tobin-Hochstadt
60812be652
fix PR 10868
...
original commit: 8c22099aec99b15867cbf47bff5f6998e5cab988
2010-05-03 13:07:30 -04:00
Sam Tobin-Hochstadt
59971400af
change error message for `define:' (fixes PR 10883)
...
original commit: 55929072bb5b8cb35a113678690418fde048390d
2010-05-03 11:35:30 -04:00
Sam Tobin-Hochstadt
2addf717a0
rename to rkt
...
original commit: 459a675b90443b59e46bccae476a6f040fa8434d
2010-04-30 09:51:32 -04:00
Matthew Flatt
94184a7671
rename all files .ss -> .rkt
...
original commit: 28b404307793f041bb3363135a2968e283855318
2010-04-27 16:50:15 -06:00
Sam Tobin-Hochstadt
8c25785856
fix asym pred not to use identifiers
...
original commit: 3311b2bb3a888d0d7f30f64fdd53667f1d464be6
2010-04-22 18:27:08 -04:00
Sam Tobin-Hochstadt
88ae88c901
everything but or and implies works
...
original commit: 0804e64695ab0d04a8db1d1f95e1fc8f14b32217
2010-04-21 18:13:13 -04:00
Matthew Flatt
7f3cf8a3ef
move most of the 'scheme' collection to the 'racket' collection
...
original commit: c95a39875453e7f057395a7bf626e5d2ed732e7e
2010-04-20 15:24:48 -06: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
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
Noel Welsh
501766dde0
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
original commit: 302555cf0154206242d6f72f1a5572f76a16f536
2010-03-26 14:48:33 +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
f18f8b8bf1
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
original commit: 7c552421792a3f91a504fefefa9e77768180b9d0
2010-03-23 12:24:50 +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
Sam Tobin-Hochstadt
47fbb81f64
add FlVector as a type
...
svn: r18559
original commit: 31911dba551fad0135cc8655585d352e611ca3c2
2010-03-17 17:00:14 +00:00
Sam Tobin-Hochstadt
8dfb2370e7
these operations do not exist
...
svn: r18558
original commit: fe68168e3d1c5139f74b9b4861151948b06ff4bb
2010-03-17 16:51:04 +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
Sam Tobin-Hochstadt
3086c4e339
Actual contracts for classes. Yay sstrickl!
...
svn: r18547
original commit: b9902e514541039ac87d47c35e9bcd9d3f37d1f3
2010-03-15 18:21:15 +00:00
Stevie Strickland
7387b32825
Need scheme/class's init for use in class/c form.
...
svn: r18543
original commit: bf56a108fe3c3f05976223dd81dbbf5b80baed33
2010-03-15 09:04:10 +00:00
Stevie Strickland
d22cdbcee1
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
original commit: 5a488ae7cbf9f973cf89169f5557c12e355a3f39
2010-03-15 08:57:41 +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
2545da16a9
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
original commit: a8b5f4275ac3118b027dbf679b5c4e024280c6f5
2010-03-12 10:58:26 +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
3edcfaf5f5
fix PR10810
...
svn: r18470
original commit: e703d52b945d51623a781dc97eda74a10430e1f9
2010-03-04 21:42:55 +00:00
Sam Tobin-Hochstadt
04dbfaf38e
fix some unfortunate bugs
...
svn: r18433
original commit: b020c8dc216c48d52dab9a78134c34405210da81
2010-03-02 20:37:36 +00:00
Sam Tobin-Hochstadt
9eabaf2109
fix PR 10735
...
svn: r18419
original commit: 33db456f9ee83fe38e97ac1c006c5bb3dd0407c2
2010-03-01 22:51:42 +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
fd3a9e042a
fix with-types requires on windows
...
svn: r18387
original commit: 68c46cca9a57835f38cb42e6eee45c86755f7cd8
2010-02-27 19:21:42 +00:00
Sam Tobin-Hochstadt
7e4367c9cd
remove obsolete doc files
...
eliminate repeated expansion
svn: r18382
original commit: 6c4b1234bf7545fded38270fed92c886a0e49b48
2010-02-27 16:24:22 +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
56732a6d6e
Re-enable typechecking of auto-language.ss
...
Add `syntax-e' as a path.
Turn on contracts for objects.
Refactor Noel's additions.
Fix `require/typed' at the REPL.
svn: r18345
original commit: 2e90dfc081a3160abaa49aff9f535a901999c6a5
2010-02-26 00:25:23 +00:00
Noel Welsh
bb22e41f6d
Fix order of cases in case-lambda expressions for some unsafe-fx operations.
...
Add the safe equivalents of the unsafe-fx operations.
svn: r18334
original commit: dcb01829a0f13bcdb86f9eb7a794555a5aedc9d6
2010-02-25 13:00:55 +00:00