Commit Graph

506 Commits

Author SHA1 Message Date
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
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
28be0897c3 Move student expansion above or.
Improve printing when no object.

svn: r15704
2009-08-11 20:19:19 +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
Sam Tobin-Hochstadt
d7f0c681c7 add index entries
svn: r15206
2009-06-18 17:02:40 +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
Sam Tobin-Hochstadt
7b82069fa0 Add NoFilter and NoObject to represent no information about filter/object.
Handle these properly in check-below (with test).
Use NoFilter and NoObject to make if typechecking work properly with filters.
Reject mismatched filters/objects (with test).

New version of require/typed that handles opaque and struct requires.
Reorganize docs around this.

svn: r15155
2009-06-12 19:04:39 +00:00
Carl Eastlund
e53b944fb3 Corrected types for source location in lists passed to datum->syntax.
Corrected types for peek-* functions (which may return EOF).
Added type for read-byte.

svn: r15137
2009-06-10 23:38:52 +00:00
Sam Tobin-Hochstadt
7d9f506760 Fix a bunch of types and function types
svn: r15133
2009-06-10 21:46:52 +00:00
Sam Tobin-Hochstadt
5139875199 add split-at and append*
svn: r15119
2009-06-08 15:54:05 +00:00
Sam Tobin-Hochstadt
e14e58c8df hash table keys are contravariant, not covariant
svn: r15077
2009-06-04 14:38:59 +00:00
Sam Tobin-Hochstadt
a255514ba1 change define-requirer to use library paths to fix build
svn: r15041
2009-06-01 17:15:22 +00:00
Sam Tobin-Hochstadt
c1eb25e47f move additional tests to test dir
svn: r14963
2009-05-23 23:00:23 +00:00
Sam Tobin-Hochstadt
c27dccb9d8 Improve error messages and printing.
Turn off contracts.

svn: r14947
2009-05-22 22:30:24 +00:00
Sam Tobin-Hochstadt
844cbc6782 move new-if to if.
svn: r14942
2009-05-22 22:06:48 +00:00
Sam Tobin-Hochstadt
2a55bec335 remove obselete code
svn: r14941
2009-05-22 22:05:56 +00:00