Eli Barzilay
19095ff14b
* Added `version->integer'
...
* Added tests (mostly just that for now)
* Documented `version/utils'
svn: r10756
2008-07-14 07:56:18 +00: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
Matthew Flatt
71a2648851
explain what a box is in the reference, and add cross references to the guide
...
svn: r10753
2008-07-14 00:05:37 +00:00
Matthew Flatt
7af044e2ce
allow multiple uses of an .icns filein .filetypes
...
svn: r10752
2008-07-13 23:06:24 +00:00
Matthew Flatt
f83f19ea55
more improvements to find a 'regmust' string (PR 9602)
...
svn: r10751
2008-07-13 22:14:25 +00:00
Matthew Flatt
0f97bbcd9e
improve regexp to see through certain groupings to pick a 'regmust' string to speed up match failures (PR 9602)
...
svn: r10750
2008-07-13 21:36:58 +00: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
28bf6141b5
Add .scrbl files as DrScheme-handled files in OS X.
...
svn: r10746
2008-07-13 19:26:36 +00:00
Eli Barzilay
914a2b05f9
Welcome to a new PLT day.
...
svn: r10745
2008-07-13 17:13:55 +00:00
Eli Barzilay
4cd2614c21
scribble fixes -- nested @scheme and a few other similar problems
...
svn: r10744
2008-07-13 17:13:20 +00: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
Matthew Flatt
e180452d8f
adjust the way out.sxref is saved/loaded so that less is kept in memory across doc builds
...
svn: r10742
2008-07-13 15:51:31 +00:00
Matthew Flatt
269423bf0d
use reverse table to fix O(n^2) expansion of macro-introduced requires
...
svn: r10741
2008-07-13 13:50:22 +00:00
Eli Barzilay
5860cb892a
fix problems in unbox doc (nested @scheme and shadowed box)
...
svn: r10740
2008-07-13 13:50:14 +00: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
Stevie Strickland
05e54f0dfe
I thought I checked this in, but apparently not! Oops.
2008-07-13 04:35:54 -04:00
Stevie Strickland
9f6427ac34
This makes the change mentioned in the log message for r10735 (the previous
...
revision). So what we'll get here is the following:
Dotted + Dotted = Dotted (from the first case)
Dotted + x = x (since x refers to a free use of the dotted var)
x + Dotted = x (same)
I think this is correct.
2008-07-12 22:33:04 -04:00
Stevie Strickland
f3eb315425
I'm not sure if this is correct, but this handles the cases where we're
...
instantiating dotted pre-types where the bound is _not_ free in the
pre-type base. I checked in a test case for this, that's something like:
(inst (plambda: (a ...) [ys : (Number ... a -> Number)] (apply + ys))
Integer Boolean String)
=
(Number Number Number -> Number)
These changes introduce no extra test failures, and we really have to
account for the bound here, and really even if the variable _does_
appear free within the pre-type base, it shouldn't be counted as a
"regular" variable outside of that scope.
Actually, maybe Dotted should behave like Constant, where it just
propogates until there's a separate free use that we're merging with,
in which case we just treat it like the free use (which will
eventually get fix-bound applied to it anyway). I think I'll make
that change next.
2008-07-12 22:30:00 -04:00
Stevie Strickland
9b289bea27
Actually, I want to be careful with this.
...
For example, we don't want the result type of the function to be free,
so it's more like:
G, D + {a}, S |- f : (t1 t2 -> t)
G, D, S |- t
(i.e. {a} not free in t)
Hmm.
2008-07-12 22:20:10 -04:00
Stevie Strickland
274814e6aa
There's no reason we can't allow foldl on a rest arg, as long as the types
...
match up appropriately. Let's do it!
2008-07-12 22:13:44 -04:00
Stevie Strickland
ab2360384f
We have to be careful here -- for example, one of the test cases was failing
...
because the last thing in the instantiate was a function type, which is
a cons. Look for a cons whose cdr is an identifier.
2008-07-12 22:11:23 -04:00
Eli Barzilay
bdb4f18b21
Welcome to a new PLT day.
...
svn: r10731
2008-07-13 01:29:42 +00:00
John Clements
e34d52fbfe
fixed consistency
...
svn: r10730
2008-07-12 23:02:21 +00:00
Danny Yoo
47bed6d1e7
Added port name source to the input port returned by framework text's get-in-port; this addresses the bug of the source highlighting not showing when the source stx comes from interaction window.
...
svn: r10729
2008-07-12 22:46:47 +00:00
Mike Sperber
af71ab0e4f
Synch with latest.
...
svn: r10728
2008-07-12 16:00:29 +00:00
Matthew Flatt
01691d9240
adjust the way framework and tools docs extract documentation
...
svn: r10727
2008-07-12 15:37:31 +00:00
Kathy Gray
c459978d86
Parser bug fix.
...
++ on fields and arrays bug fix.
svn: r10726
2008-07-12 14:29:23 +00:00
Matthew Flatt
eff5666a39
fix HTML rendering of a table at start of itemization
...
svn: r10725
2008-07-12 12:28:05 +00:00
Eli Barzilay
1a64ab3af4
Better layout for the capabilities doc
...
svn: r10724
2008-07-12 08:20:19 +00:00
Eli Barzilay
bf86c29bb7
fixed some latex leftovers, and convenient way to make headers and include-extracted
...
svn: r10723
2008-07-12 07:07:19 +00:00
Eli Barzilay
7c7bc0fd06
added a space after mathimpl/mathspec header, so it can be used independent of an empty line at the beginning
...
svn: r10722
2008-07-12 07:02:50 +00:00
Eli Barzilay
92440b68eb
this file was not used, and was bogus (referred to the "big" collection)
...
svn: r10721
2008-07-12 02:06:53 +00:00
Eli Barzilay
5726d77d87
fix search box path when there is no PLT_Root cookie
...
svn: r10720
2008-07-11 20:39:18 +00:00
Matthew Flatt
09244304d3
fix typo, use a new-style module path
...
svn: r10719
2008-07-11 14:03:33 +00:00
Eli Barzilay
fbb80f7389
Welcome to a new PLT day.
...
svn: r10718
2008-07-11 10:02:50 +00:00
Eli Barzilay
bb562f9ee4
* some fixes to make-search.ss
...
* rename search-context.html to .htm to avoid being deleted by
setup/scribble
* added context to help/search interface
svn: r10717
2008-07-11 09:50:29 +00:00
Eli Barzilay
dc5211f363
improve status message clearing for input fields ("" is false in javascript)
...
svn: r10716
2008-07-11 08:48:53 +00:00
Eli Barzilay
f44a06a4da
Added an `hq' argument for a pre-filter argument, parsed on a separate
...
page instead of in index.html, so that it can be removed from the url
to avoid resetting the cookie on every refresh.
svn: r10715
2008-07-11 08:40:11 +00:00
Eli Barzilay
d58b1ffdac
Use a different strategy to decide when to insert/delete auto-text,
...
one that should play nicer with the metadata thing for the teaching
languages.
svn: r10714
2008-07-11 05:03:18 +00:00
Eli Barzilay
9ccd48dff2
catch up with some v4-isms
...
svn: r10713
2008-07-10 21:06:19 +00:00
Eli Barzilay
b19301e100
warning when collection paths are empty
...
svn: r10712
2008-07-10 20:28:18 +00:00
Eli Barzilay
23cf600c47
Welcome to a new PLT day.
...
svn: r10711
2008-07-10 18:59:13 +00:00
Robby Findler
6b9690da71
forgot to add this in the last commit
...
svn: r10709
2008-07-10 18:03:39 +00:00
Robby Findler
1858924c50
moved the tex-table.ss file somewhere accessible and documented it
...
svn: r10708
2008-07-10 17:21:00 +00:00
Matthew Flatt
de3b46aa5b
refine fix of equal? on immutable hash tables and add a test
...
svn: r10707
2008-07-10 13:50:56 +00:00
Matthew Flatt
5c183baf6e
fix bugs in interrupt handling of TCP system calls
...
svn: r10706
2008-07-10 13:50:24 +00:00