Commit Graph

254 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
17c0dbbcd3 Infer on ((lambda
add types for matchable? and match-equality-test

svn: r14570

original commit: 8918328e8a06d4cc7973bd94cb6c436e286d0be1
2009-04-20 22:41:37 +00:00
Sam Tobin-Hochstadt
297a5745a6 Fix polymorphic structure predicates.
svn: r14483

original commit: 929dc1d5b245e03d59eba55989c42c1a3e91954a
2009-04-10 00:07:11 +00:00
Sam Tobin-Hochstadt
88b15b7219 Fix bug with structure keys and polymorphic structs.
Use `match*'
Add test

svn: r14482

original commit: 69a3b7a70f56e01d732491d0fa001fe3c7667868
2009-04-09 23:52:13 +00:00
Sam Tobin-Hochstadt
e5d7c897d4 document quote for more types
svn: r14480

original commit: 2332f2f50ab0da2d6455742ce07e3d1aa3f26b86
2009-04-09 22:27:25 +00:00
Sam Tobin-Hochstadt
b111dc6b98 Fix bug with match dots.
Fix handling of keywords.
Add keywords in call-with-input/output-port.

svn: r14469

original commit: ac7e87936043f80e97057c252b855159349001d6
2009-04-08 20:24:05 +00:00
Sam Tobin-Hochstadt
d946fc3b79 Document typed-scheme/no-check
svn: r14465

original commit: 95988f86a2c60eed0edfd4710b9064ea035efb62
2009-04-08 15:04:03 +00:00
Sam Tobin-Hochstadt
ac03c56716 Fix static struct info
svn: r14433

original commit: d57f1a68a4303e0c52ca9f3e383719c3f9e4591f
2009-04-06 06:18:06 +00:00
Eli Barzilay
b155c5e8f0 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427

original commit: c0a8a0122200209e38dff1959d79b58f847814db
2009-04-05 17:46:20 +00:00
Sam Tobin-Hochstadt
7b70ced131 Report more information for untyped imported identifiers
svn: r14418

original commit: 2aab5762370806fb648694cbbd6cb1c44ba2fc83
2009-04-03 22:42:29 +00:00
Sam Tobin-Hochstadt
35a67354ca Require that `require/typed' uses the contracted version of typed identifiers.
svn: r14415

original commit: 6d302a93046299af4ccd58f8e8ea3938c258f7ac
2009-04-03 18:42:38 +00:00
Sam Tobin-Hochstadt
8c928ca0bf Fix subtyping, printing, inference for refinement types.
svn: r14403

original commit: 6d07cf912830c478b22ef005bbf267cda3d06f2a
2009-04-02 03:03:44 +00:00
Sam Tobin-Hochstadt
474ead72a9 Add refinement types.
Add `parse-commmand-line'

svn: r14372

original commit: cd4305ca4f395a183450b762b2c7e5be0fe4d7db
2009-03-31 03:33:04 +00:00
Stevie Strickland
f288f98416 Sam and I did some work to allow automatic inferred linking in
(define-values/)invoke-unit/infer.

svn: r14315

original commit: 99aac7d7455c3ce9189d038f781558b6bd696424
2009-03-27 13:47:12 +00:00
Sam Tobin-Hochstadt
44a858ba4a add `remove-duplicates'
svn: r14278

original commit: f48dbda950dc70be1966a352ded70bd12a339a24
2009-03-25 17:22:09 +00:00
Sam Tobin-Hochstadt
23a33e158c Add fake type name -Real
Add `scheme/math' types from Jos Koot.

svn: r14251

original commit: 43443652b8d4c0b73ec950c3ead818c262ddf0bb
2009-03-24 17:49:15 +00:00
Sam Tobin-Hochstadt
8fa0ec6079 First step to polymorphic functions in typed/untyped interface
- poly/c contract from Carl/Stevie
- generate the contracts
- test
- use in typed/srfi/14

svn: r14241

original commit: 60e096913d18554592f4dd6e024d3f58cc94b88e
2009-03-23 18:29:07 +00:00
Sam Tobin-Hochstadt
bb80c7809e Types for `scheme/path', from Harsha.
svn: r14240

original commit: 6108dc873cb9c07a86f64fb20ef6b5f89f3c79ab
2009-03-23 17:25:57 +00:00
Sam Tobin-Hochstadt
2e7fb8105f improve types for foldl, foldr
svn: r14228

original commit: bb2268b9be8243a7e928df4e83ef6bc19a68a213
2009-03-23 12:02:46 +00:00
Sam Tobin-Hochstadt
56216d320e Use 'no-free-identifier=? property with rename transformers.
Allow use of ... without bound when only one ... var in scope.

svn: r14214

original commit: 6d8014783b16c2d31624f8bd5f6d25d9fb10b5e2
2009-03-22 12:41:26 +00:00
Sam Tobin-Hochstadt
fdfa1cd04a Allow `apply' of non-uniform polymorphic functions to fixed-length list arguments.
Please backport.

svn: r14162

original commit: 0ed8d251bff94224448a2d860d329a7427513a61
2009-03-17 21:18:50 +00:00
Sam Tobin-Hochstadt
3bcaed5d41 add new section about libraries in ts
svn: r14145

original commit: fee4c1944dca20f41b0dc3217dfaf3295ee89215
2009-03-17 12:43:20 +00:00
Sam Tobin-Hochstadt
63d2f3ecb2 Fix docs for HashTable.
Add string->list, list->string, sort.

svn: r14138

original commit: 6b5b193815bd469a2119e1227503fe446f89e8d2
2009-03-17 02:14:11 +00:00
Sam Tobin-Hochstadt
11f325e1c6 Correctly report syntax def from define-struct:
Add alias in type env when rename transformer is used.

svn: r14034

original commit: 79ee9fbee8868a4f5911356d2c1d2a9b0d7fd016
2009-03-10 20:29:02 +00:00
Eli Barzilay
de3fec3ebc fix bitwise ops
svn: r13850

original commit: d10cdccca9a704f6a215660f667dd7aaaf2c8757
2009-02-26 14:04:39 +00:00
Ryan Culpepper
91f75661c4 stxclass: added and- and or-patterns, box and vector patterns
svn: r13721

original commit: 59727cc4bcdb2f4955f3f5206207a8d482736d0a
2009-02-18 04:01:52 +00:00
Sam Tobin-Hochstadt
3860454c7b Use stxclass for require/opaque-type
svn: r13682

original commit: c7809e5838816fee70e74622390d05c07b809062
2009-02-16 23:06:23 +00:00
Sam Tobin-Hochstadt
d009eb6db2 Use stxclass for `require/typed'.
svn: r13658

original commit: 54d17355c3fbcfdf15aec20c3d17e9a1e802ac06
2009-02-16 14:16:36 +00:00
Sam Tobin-Hochstadt
55f8d3f67e docs for provide:
svn: r13645

original commit: eba3b5d54d297673a7ba9ef2c1f8a036e99a88f0
2009-02-16 02:29:33 +00:00
Sam Tobin-Hochstadt
c7e0ef61e9 Add provide:
svn: r13643

original commit: 3205875736f90161f6773d9e7182f25a9f949cc2
2009-02-16 02:23:50 +00:00
Sam Tobin-Hochstadt
d6efd0acc3 Fix error message when polymorphic inference fails because of expected type.
Add test case.

svn: r13639

original commit: 02efc28dff062b60e0ee5e1c425b438d44ce9c28
2009-02-16 02:12:13 +00:00
Sam Tobin-Hochstadt
727c5bb0b0 subtype caching
svn: r13615

original commit: ed83737d5f6943687c2148457e582dc707363f34
2009-02-15 21:30:02 +00:00
Sam Tobin-Hochstadt
474f810031 Use stxclass for defintern.
Use stxclass for dt and de, and refactor/simplify.
Don't use the real union for unfolding mu types.
Add some descriptions to syntax classes for type parsing.

svn: r13597

original commit: 345abb820bf34bf7a9e1763a964b23143c07219f
2009-02-15 04:01:30 +00:00
Sam Tobin-Hochstadt
b0da5d65da re-enable printing
svn: r13581

original commit: 7830091d42fc7204957a9947d52ad7999d4abd6b
2009-02-14 20:48:26 +00:00
Sam Tobin-Hochstadt
fe0a947bb0 type keys now work, mostly
svn: r13580

original commit: e198478055f13631ec9ab6154edcf71c6c3f7ef3
2009-02-14 20:27:37 +00:00
Sam Tobin-Hochstadt
7bd2447d44 new branch initial commit
svn: r13578

original commit: e13c4b690d8c257de1e08252b1bb0199cb6a1f63
2009-02-14 16:03:25 +00:00
Ryan Culpepper
26d517cfa8 stxclass:
fixed scoping of attributes (wrt declare)
  added 'attribute' form
  added internal/external literals form

svn: r13574

original commit: 44efc7cb48ab4f231a024b037c80de6528b99b7c
2009-02-14 12:17:14 +00:00
Sam Tobin-Hochstadt
2076decb19 Default types for lambda formals.
svn: r13539

original commit: e61075a4fd7a40c2641f06553aecdfedff48ed23
2009-02-12 23:55:53 +00:00
Sam Tobin-Hochstadt
3ac20b4930 test fix
svn: r13456

original commit: 2b5413539433b9a0b2a8d615b74b16cdb49c6d95
2009-02-05 15:05:59 +00:00
Sam Tobin-Hochstadt
c1a6ffd46e fix expr attribute
svn: r13438

original commit: 9f77daab416df94eab23067bf333d0ee17eaef69
2009-02-04 23:07:09 +00:00
Sam Tobin-Hochstadt
bb5298992b take out work on paths, now compiles
svn: r13431

original commit: f867eea8c313ff53bdfa4edd9f4e5af0d89ef657
2009-02-04 20:57:28 +00:00
Sam Tobin-Hochstadt
cfab8a698f commit work to new branch, doesn't work yet
svn: r13427

original commit: 3ab3c8d3685d30c827c600d93a0930eff7e1902d
2009-02-04 20:19:41 +00:00
Sam Tobin-Hochstadt
5570ebc151 Fix handling of inexact integer literals.
svn: r13294

original commit: 2962c0bfa7f13a16406248abf891c574fe08b006
2009-01-27 17:55:10 +00:00
Eli Barzilay
86e0c521fc fix the type of > and indent
svn: r13275

original commit: 4288ba636ec132eb91ede11dd9ab1f24263d01e8
2009-01-24 21:13:15 +00:00
Ryan Culpepper
00daf4391f stxclass: created stxclass collection, with docs
svn: r13255

original commit: eb9fe4847f7eacc7ae69560872e337642a366ea8
2009-01-22 05:50:55 +00:00
Eli Barzilay
9f15554e02 newlines at EOFs
svn: r13105

original commit: d1a0086471bf5e9553a9b056b26286c427831d38
2009-01-14 03:10:47 +00:00
Sam Tobin-Hochstadt
76b262cb20 checkpoint
svn: r12954

original commit: ed48078523c1282d0df9f2133cfca50102f8849b
2008-12-30 19:47:21 +00:00
Matthew Flatt
547102b2b4 fine-tune typechecking index entry
svn: r12920

original commit: ec600c59bb9caa15f10fb68844677e56a4ce86dc
2008-12-21 13:57:46 +00:00
John Clements
d6c37aaf3d ...
svn: r12919

original commit: 424ec50bfb3b755103b0516c4a0e69d40ed67811
2008-12-21 10:00:47 +00:00
Sam Tobin-Hochstadt
1ec87308cf Lots of unit contracts, plus some bug fixing.
svn: r12820

original commit: 57f1dd0c4d41b044f99718b4e9a8158a0ce9ae80
2008-12-12 20:33:21 +00:00
Sam Tobin-Hochstadt
d24a116dcb Handle top-arr in infer. Add convenience binding for function top.
svn: r12745

original commit: ea0873adb29728625be95474b79ff75dda6521fd
2008-12-08 18:24:33 +00:00