Sam Tobin-Hochstadt
d0c8a19ce8
Fix abstraction of implications.
...
Fix contract for lookup-typed/lexical.
Default cases for printing.
Abstract out indexing functions for Nat/Integer split.
svn: r17272
2009-12-11 23:00:37 +00:00
Sam Tobin-Hochstadt
16c152e5a4
revert all of the interning changes since they didn't work
...
svn: r17262
2009-12-10 17:15:17 +00:00
Sam Tobin-Hochstadt
cd0a94d465
sync to trunk
...
svn: r17249
2009-12-09 19:44:12 +00:00
Sam Tobin-Hochstadt
be77cee733
Fix parsing of quoted lists in types to produce list types.
...
svn: r17237
2009-12-07 15:50:51 +00:00
Sam Tobin-Hochstadt
eae4c140fa
conversion to contracts for optional keywords
...
svn: r17236
2009-12-07 15:34:54 +00:00
Sam Tobin-Hochstadt
70f085713d
PR 10647
...
svn: r17235
2009-12-07 13:55:36 +00:00
Sam Tobin-Hochstadt
76b10347da
Support some keyword arguments in type parsing/type->contract.
...
svn: r17189
2009-12-05 00:48:46 +00:00
Sam Tobin-Hochstadt
e3bafbe298
checkpoint
...
svn: r17054
2009-11-25 02:30:41 +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
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
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
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
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
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
5fc019ba6c
Remove last uses of stxclass.
...
svn: r15976
2009-09-11 17:49:50 +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
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
1e5cb7d603
fix 9979
...
svn: r15721
2009-08-12 21:55:04 +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
50545830f2
Allow filters/objects to be provided to untyped code.
...
svn: r15706
2009-08-11 21:00:57 +00:00
Sam Tobin-Hochstadt
c27783830a
add getenv and pretty-print etc.
...
svn: r15705
2009-08-11 20:44:45 +00:00
Sam Tobin-Hochstadt
9649e10df8
document define-struct/exec:
...
svn: r15703
2009-08-11 20:05:31 +00:00
Sam Tobin-Hochstadt
b23016f86a
Prohibit predicates, unions of tvars in contracts
...
Add vector?
svn: r15701
2009-08-11 19:35:34 +00:00
Sam Tobin-Hochstadt
1ea71ea94b
New contracts for hashtables, vectors, boxes
...
svn: r15646
2009-07-30 21:15:16 +00:00
Sam Tobin-Hochstadt
55c9f55cf3
struct->vector
...
svn: r15645
2009-07-30 21:00:04 +00:00
Sam Tobin-Hochstadt
1977ab0709
remove c
...
svn: r15644
2009-07-30 20:13:28 +00:00
Sam Tobin-Hochstadt
7888fa5dc6
Add some hash functions
...
svn: r15642
2009-07-30 19:30:05 +00:00
Noel Welsh
9c7584b8c8
Add types for:
...
- regexp?
- pregexp?
- byte-regexp?
- byte-pregexp?
- regexp
- pregexp
- byte-regexp
- byte-pregexp
- regexp-quote
- read-bytes-line
svn: r15595
2009-07-28 10:41:27 +00:00
Eli Barzilay
a70bf64fd9
Newlines at EOFs
...
svn: r15380
2009-07-04 02:28:31 +00:00
Sam Tobin-Hochstadt
5b79cd7c0c
Use let/ec instead of let/cc
...
let/ec: and let/cc:
type for call-with-current-continuation
Start on ImpFilters
svn: r15220
2009-06-19 18:01:33 +00:00
Carl Eastlund
a06c6b38aa
Added types for string-copy and string->immutable-string.
...
svn: r15202
2009-06-18 00:59:04 +00:00
Carl Eastlund
21033a3e3c
Added types to the srcloc structure.
...
svn: r15201
2009-06-17 22:28:21 +00:00
Carl Eastlund
f110157ac2
Added types for:
...
- keyword?
- string->keyword
- keyword->string
- char-upcase
- char-downcase
- char-titlecase
- make-rectangular
- make-polar
svn: r15200
2009-06-17 21:08:35 +00:00
Sam Tobin-Hochstadt
cfd65e7fa2
Use vector-immutableof' and
box-immutable/c' to handle boxes and vectors.
...
svn: r15199
2009-06-17 20:49:13 +00:00
Sam Tobin-Hochstadt
bc6d606a60
Merge in changes to Syntax types from Carl.
...
svn: r15156
2009-06-12 20:53:47 +00:00