Commit Graph

233 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
302e28da62 provide tc-result? for contracts
svn: r11734
2008-09-13 22:48:19 +00:00
Sam Tobin-Hochstadt
49c816cfaa Fix call to *Keyword - thanks Matthew.
svn: r11733
2008-09-13 22:47:52 +00:00
Sam Tobin-Hochstadt
37796884d8 Doc changes.
svn: r11732
2008-09-13 22:45:22 +00:00
Sam Tobin-Hochstadt
4f5a412230 Merge in keywords branch and directory reorg.
svn: r11643
2008-09-11 14:07:10 +00:00
Sam Tobin-Hochstadt
7cf9b36c15 Add eof and read-accept-reader.
Fix find-mutated-vars
2008-09-11 09:01:49 -04:00
Sam Tobin-Hochstadt
c7b51cfd2d Add no-check language 2008-09-10 14:49:15 -04:00
Sam Tobin-Hochstadt
5ac64589ba reorg 2008-09-09 17:40:26 -04:00
Sam Tobin-Hochstadt
dfeef03875 new dirs 2008-09-09 15:34:28 -04:00
Sam Tobin-Hochstadt
8df7a46493 Improve errors. 2008-09-08 13:27:38 -04:00
Sam Tobin-Hochstadt
ff85152f59 fix error message 2008-09-08 13:03:56 -04:00
Sam Tobin-Hochstadt
a1825082df more stuff works 2008-09-05 16:52:00 -04:00
Sam Tobin-Hochstadt
801156229a Fixed printing for new rep.
Handle mandatory and optional keyword args.
2008-09-04 17:59:36 -04:00
Sam Tobin-Hochstadt
79e3a0c4c6 New representation that accomodates mandatory and optional keyword args. 2008-09-04 17:02:33 -04:00
Sam Tobin-Hochstadt
b27c3571d0 A keyword function typechecks! 2008-09-04 15:21:39 -04:00
Sam Tobin-Hochstadt
85a0fa22d1 progress 2008-09-02 20:25:23 -04:00
Sam Tobin-Hochstadt
3f5069a003 Fix construction of function types. 2008-09-01 15:04:18 -04:00
Sam Tobin-Hochstadt
b5a07f4646 compiles 2008-09-01 14:55:51 -04:00
Eli Barzilay
989aedc09a use the new facility for the typed-scheme reader
svn: r11504
2008-09-01 04:26:54 +00:00
Sam Tobin-Hochstadt
a8417c7c1c start on keywords 2008-08-29 18:23:59 -04:00
Sam Tobin-Hochstadt
fa8ffb417e Improve error message for summary.
Fix returned error type for polymorphic apps.
Fix typo.

svn: r11487
2008-08-29 20:14:22 +00:00
Sam Tobin-Hochstadt
3ac6b485a5 Improve error message for poly app when fcn is an identifier.
svn: r11486
2008-08-29 19:57:12 +00:00
Sam Tobin-Hochstadt
a16f879e24 Fix docs to work around schememod bug
svn: r11342
2008-08-19 19:57:59 +00:00
Sam Tobin-Hochstadt
d546d6e045 Better error messages for require/opaque-type
svn: r11341
2008-08-19 19:48:24 +00:00
Sam Tobin-Hochstadt
79b4f2d078 Print struct names without [].
svn: r11340
2008-08-19 19:40:38 +00:00
Matthew Flatt
9453aaaccf assign authors to manuals
svn: r11287
2008-08-15 20:16:06 +00:00
Sam Tobin-Hochstadt
513174a2bd Fix handling of `, delay, and this-language using Matthew's advice
svn: r11127
2008-08-07 19:05:32 +00:00
Sam Tobin-Hochstadt
24a98cf061 Provide some names
svn: r11114
2008-08-06 20:48:02 +00:00
Sam Tobin-Hochstadt
44e0c09d75 Fix typo
svn: r11113
2008-08-06 20:47:28 +00:00
Sam Tobin-Hochstadt
5f787a63d4 Add types for char comparison functions.
svn: r11085
2008-08-05 18:17:27 +00:00
Sam Tobin-Hochstadt
ad2b2b3199 fix some dumb bugs
svn: r11082
2008-08-05 15:05:25 +00:00
Sam Tobin-Hochstadt
28c5e71b01 Fix bug 9649.
svn: r11029
2008-08-01 20:57:48 +00:00
Sam Tobin-Hochstadt
d7b4d81e04 Fix docs of -> to talk about varargs.
svn: r11028
2008-08-01 20:42:30 +00:00
Sam Tobin-Hochstadt
fa857a40ac Allow ... rest variables to be used as lists.
Bind Values as a type.

svn: r11010
2008-07-31 19:26:46 +00:00
Stevie Strickland
402de6f090 Yes, we need the hyphen.
svn: r10968
2008-07-29 17:10:01 +00:00
Stevie Strickland
be456fec94 Actually, revert that last change. What we'll do is:
* Fix up things so that we actually use 'temp-dir via find-system-path
    instead of using /tmp always
  * Turn off logging via the logging? for-syntax definition.

svn: r10967
2008-07-29 17:06:11 +00:00
Stevie Strickland
2d9a48a11d This shouldn't have been left in.
svn: r10966
2008-07-29 16:58:21 +00:00
Stevie Strickland
91291ba2bc Add the forall Unicode symbol as an acceptable replacement for the
All type constructor.

svn: r10797
2008-07-16 17:37:05 +00:00
Stevie Strickland
0cd54c9e33 Merging in the following code:
svn merge -r10197:10773 http://svn.plt-scheme.org/plt/branches/samth/dots
svn merge -r10210:10737 http://svn.plt-scheme.org/plt/branches/samth/dots-tests

This adds non-uniform variable-arity polymorphism to Typed Scheme.

svn: r10778
2008-07-15 19:03:59 +00:00
Stevie Strickland
39c343ec18 Add filter-map to base-env.ss 2008-07-15 00:33:14 -04:00
Stevie Strickland
1fd8f6c2c3 This is too long for the paragraph, just separate it. 2008-07-15 00:10:04 -04:00
Stevie Strickland
8842fb9ea0 Add printing if a starred type was substituted in as well. 2008-07-14 09:42:45 -04:00
Sam Tobin-Hochstadt
2866efd348 logging 2008-07-14 08:48:14 -04:00
Stevie Strickland
e92c35d90c I'm not sure how best to add this as a hit for "rest argument(s)" without
actually putting that in the section title -- and truthfully, maybe it
should be, for those who aren't deeply versed in PL but know enough
Lisp/Scheme to ask for this.
2008-07-13 22:33:37 -04:00
Stevie Strickland
b991505297 Just tried the following program:
#lang typed-scheme

(require/typed
  srfi/1
  (fold (All (a b) ((a b -> b) b (Listof a) -> b))))

And got an error because (orig-module-stx) was #f.  I'm not sure whether
it should have been or not, but I've fixed up this to handle that case
(having it just use the normal error message when that's #f, as I'm not
sure whether the error message would be correct otherwise).

However, it might just be that (orig-module-stx) should have not been
#f, in which case this should be checked out.
2008-07-13 21:47:36 -04:00
Sam Tobin-Hochstadt
2456dcc18b Fix handling of mutable structs (setters != getters)
Allow use of #:mutable as define-typed-struct arg
Fix types of random andmap ormap
2008-07-13 17:31:58 -04:00
Stevie Strickland
4e7f527cb8 Put the beginnings of documentation here. 2008-07-13 16:50:05 -04:00
Stevie Strickland
d6f527a96f Starting to expand out the documentation in preparation of merging this
branch back to trunk.
2008-07-13 16:07:29 -04:00
Stevie Strickland
421df42d00 Switch these over to for/for*. Avoid the hash-copy calls as well, since
we either end up doing the traversal wholesale or throwing some of that
work away by removing items.
2008-07-13 12:14:15 -04:00
Stevie Strickland
fdfc8d7b78 Add comment explaining what's going on here. 2008-07-13 06:14:23 -04:00
Stevie Strickland
e0bad1987d Was thinking of doing some cleanups here, but at the very least I can
get rid of this useless remove, since it's just going to overwrite it
anyway if we don't remove it first.
2008-07-13 06:12:06 -04:00