Commit Graph

534 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
29c4a84183 checkpoint
svn: r17045
2009-11-24 17:10:44 +00:00
Sam Tobin-Hochstadt
176920530f improve error messages with `syntax-parse'
svn: r17023
2009-11-24 04:04:31 +00:00
Sam Tobin-Hochstadt
406b5c384d use `make-provide/contract-transformer'
svn: r16949
2009-11-21 22:21:36 +00:00
Sam Tobin-Hochstadt
750c971d07 checkpoint
svn: r16931
2009-11-21 00:11:37 +00:00
Sam Tobin-Hochstadt
6497745560 Skip backup files in tests.
More specific numeric types.
More subtyping relationships.

svn: r16922
2009-11-20 15:20:23 +00:00
Sam Tobin-Hochstadt
485c8a3567 checkpoint
svn: r16915
2009-11-20 05:20:23 +00:00
Sam Tobin-Hochstadt
1da2c7cd7d many fixes
svn: r16913
2009-11-20 03:56:57 +00:00
Sam Tobin-Hochstadt
111b71c844 checkpoint
svn: r16908
2009-11-20 00:06:32 +00:00
Sam Tobin-Hochstadt
d28add0fa9 start on typed/scheme
svn: r16896
2009-11-19 19:47:51 +00:00
Sam Tobin-Hochstadt
424aa90491 remove tracing
svn: r16872
2009-11-18 16:41:01 +00:00
Sam Tobin-Hochstadt
0ae5843f11 Add unstable/match with == match expander.
Add 'match expander' tech def.

svn: r16814
2009-11-16 16:58:11 +00:00
Sam Tobin-Hochstadt
fcd4c4e38d Fix prop values for DrDr.
Add plt-responsible props.
Add hash-union to unstable.
Fix doc for compound-paragraph.
Fix unstable/scribblings/util.

svn: r16811
2009-11-16 13:59:13 +00:00
Sam Tobin-Hochstadt
25f9bcfe03 Add types for with-output-to-string, open-output-nowhere
Fix time.ss test not to print

svn: r16790
2009-11-15 22:38:30 +00:00
Sam Tobin-Hochstadt
fb29a2498e Move a bunch of functions from typed-scheme/utils/utils to unstable.
Add convenience lib for unstable docs.
Add char support to format-{id,symbol}
Add unstable/sequence library.

svn: r16789
2009-11-15 22:15:29 +00:00
Eli Barzilay
44d88cee6b newlines at EOFs
svn: r16630
2009-11-09 03:49:50 +00:00
Sam Tobin-Hochstadt
99a70b38d8 Move mutated-vars and poly-c libraries to unstable collection.
- add docs
 - change requires
 - fix `letrec-syntaxes+values'
Fix contract on `author+email'

svn: r16628
2009-11-09 02:29:02 +00:00
Ryan Culpepper
7483b7ed20 unstable:
added struct and syntax libraries

svn: r16621
2009-11-08 19:20:53 +00:00
Sam Tobin-Hochstadt
dcb5f5cfb1 Types for all functions documented in reference/vector.scrbl
Fix docs for vector-arg{min,max}.

svn: r16602
2009-11-07 07:11:00 +00:00
Carl Eastlund
d2f16e3828 Updated poly/c implementation for change to arity of projections.
svn: r16582
2009-11-06 19:57:52 +00:00
Sam Tobin-Hochstadt
6d70a48de1 Use tail-position syntax property for non-functions.
svn: r16451
2009-10-29 18:02:33 +00:00
Sam Tobin-Hochstadt
38fe4782b7 Allow optional keyword args in a few more places
svn: r16400
2009-10-21 14:47:56 +00:00
Sam Tobin-Hochstadt
dc5d10409c Avoid error when `orig-module-stx' not set.
svn: r16399
2009-10-21 14:47:07 +00:00
Sam Tobin-Hochstadt
a5849fb05a Better error message for inference with keywords.
Do inference when loop is unannotated, even when argument are.
Don't infer for ((lambda when vars are annotated.
Make promise contracts work.
Fix types of min, max, port->lines, subbytes,  bytes-length, bytes, bytes-ref

svn: r16397
2009-10-21 13:30:03 +00:00
Sam Tobin-Hochstadt
37106bd6f7 Add `typed/scheme/system'
Special handling of (letrec ([x e]) x)
Allow functions with optional keyword args to be inferred when kws not supplied.
Infer instantiations for kw functions in simple cases.
Add `Path-String' type
Fix types of `filter', `with-{input-to,output-from}-file'
Add `port->lines'
New 'metrics.ss' test

svn: r16385
2009-10-20 18:30:37 +00:00
Sam Tobin-Hochstadt
6a83901a8b Don't error for branches with wrong number of results where return type is Bot.
Allow case-lambda to be subtype of equiv union type.
Add types for path?, fold-files, assert

svn: r16357
2009-10-18 01:10:00 +00:00
Sam Tobin-Hochstadt
96f664354d Elimintate printing of complex filters.
Allow parsing of ...* and ...a
Parameter for printing ...* and ...a

svn: r16225
2009-10-02 20:41:56 +00:00
Eli Barzilay
44fda2f304 require trace, not
svn: r16223
2009-10-02 20:37:03 +00:00
Sam Tobin-Hochstadt
6efd0abc13 Fix bug with use of match with ... and annotation.
svn: r16216
2009-10-02 16:20:30 +00:00
Eli Barzilay
cee0e5f326 fix optional argument to number<->string functions
svn: r16123
2009-09-24 15:26:13 +00:00
Ryan Culpepper
987ab4c5e8 removed old stxclass collection
Please apply to release branch.

svn: r16047
2009-09-17 16:11:20 +00:00
Sam Tobin-Hochstadt
ed65dacdcd fix uses of syntax-parse attributes
svn: r15984
2009-09-11 22:49:56 +00:00
Sam Tobin-Hochstadt
417b9d16e0 use splicing-syntax-class
svn: r15981
2009-09-11 21:17:42 +00:00
Sam Tobin-Hochstadt
8001ab7fb0 Simplify a syntax class
svn: r15977
2009-09-11 19:19:41 +00:00
Sam Tobin-Hochstadt
5fc019ba6c Remove last uses of stxclass.
svn: r15976
2009-09-11 17:49:50 +00:00
Sam Tobin-Hochstadt
eda69b472a Remove almost all uses of `stxclass' library.
svn: r15944
2009-09-09 21:24:05 +00:00
Sam Tobin-Hochstadt
bc25b75eb3 Make type keywords show check syntax info
svn: r15925
2009-09-08 20:16:48 +00:00
Sam Tobin-Hochstadt
4907d266df Move parse-type2 to parse-type.
Re-enable typed-scheme tests automatically.

svn: r15924
2009-09-08 20:02:03 +00:00
Sam Tobin-Hochstadt
63d318fd4b New type parser, written using syntax/parse.
- uses keywords with bindings
 - : macro in separate file so it can be used earlier
 - internal function in separate file
FilterSet/c and LatentFilterSet/c contracts
Avoid returning #f when `look-for-in-orig' fails
Add type for unsafe-cdr

svn: r15923
2009-09-08 19:51:34 +00:00
Matthew Flatt
8ae0ea9d14 unsafe ops (v4.2.1.8)
svn: r15899
2009-09-06 18:24:46 +00:00
Sam Tobin-Hochstadt
799027d40f fix keyword application handling for new expansion
svn: r15864
2009-09-03 07:54:32 +00:00
Sam Tobin-Hochstadt
b3dde2ca7f Handle type ascription and type instantiation better with expected type.
Add remove-ascription
Identify incorrect element of wrongly typed list.
Use function argument types as expected types.
Allow multiple uses of orig-module-stx, older one takes precedence.

svn: r15857
2009-09-01 22:25:35 +00:00
Sam Tobin-Hochstadt
5174bbb5f0 when result type is dotted, pass it through tc-expr/check
svn: r15737
2009-08-14 20:27:53 +00:00
Sam Tobin-Hochstadt
83e0ec2b40 return a better type
svn: r15736
2009-08-14 19:44:46 +00:00
Sam Tobin-Hochstadt
79c4f9651e improve docs for opaque types
fix pr 10106

svn: r15723
2009-08-12 22:22:54 +00:00
Sam Tobin-Hochstadt
614980f6ec fix pr 10097
svn: r15722
2009-08-12 22:05:41 +00:00
Sam Tobin-Hochstadt
1e5cb7d603 fix 9979
svn: r15721
2009-08-12 21:55:04 +00:00
Sam Tobin-Hochstadt
6af7d32709 fix 9967
svn: r15720
2009-08-12 21:52:21 +00:00
Eli Barzilay
95f4d1eefe use spaces instead of tabs to indent output
svn: r15719
2009-08-12 21:37:33 +00:00
Sam Tobin-Hochstadt
50b7a0b190 improve types for numeric predicates
fix pr 9767

svn: r15717
2009-08-12 20:42:20 +00:00
Sam Tobin-Hochstadt
35336e77b8 Improve error messages from require/contract
svn: r15716
2009-08-12 20:28:08 +00:00