Robby Findler
ae55a5b636
finished for now, checkpointing
...
svn: r13644
2009-02-16 02:24:41 +00:00
Sam Tobin-Hochstadt
3205875736
Add provide:
...
svn: r13643
2009-02-16 02:23:50 +00:00
Robby Findler
601c6e18b3
whoops, didnt mean to commit chat-noir-literate.ss with the last commit, so this is a small fix so it compiles
...
svn: r13641
2009-02-16 02:18:18 +00:00
Robby Findler
f461108f2f
svn: r13640
2009-02-16 02:16:08 +00:00
Sam Tobin-Hochstadt
02efc28dff
Fix error message when polymorphic inference fails because of expected type.
...
Add test case.
svn: r13639
2009-02-16 02:12:13 +00:00
Eli Barzilay
74f88bde68
Some more require sorting -- no need for the scribble stuff to be
...
provided from literate-lang, and switched to scheme/base (so the game
file need to require it for syntax.)
svn: r13636
2009-02-16 01:02:55 +00:00
Eli Barzilay
2f09a6d3bb
minor reformatting
...
svn: r13635
2009-02-16 00:51:03 +00:00
Eli Barzilay
8298feacb2
* There's no need to do the syntactic checks of identifiers for
...
`chunk', if there's an error, then people will get it anyway when
they run the code. This means that `chunk' can be a simple
syntax-rule.
* Removed some redundant requires.
svn: r13634
2009-02-16 00:48:13 +00:00
Eli Barzilay
fa53cbe3c3
fix some scribble-isms, remove (redundant?) schememodname
...
svn: r13633
2009-02-15 23:47:56 +00:00
Eli Barzilay
2e9eed3d25
use a more convenient hack to include the literate source
...
svn: r13632
2009-02-15 23:46:17 +00:00
Stevie Strickland
10b89445c6
Do a little better here, including using id->contract-src-info instead of
...
just the identifier.
svn: r13631
2009-02-15 23:08:56 +00:00
Sam Tobin-Hochstadt
24e4cf5aca
Merge in changes from type-keys branch:
...
- Use stxclass for defintern/dt/de
- Add type keys to optimize subtyping
- Fancier printing when regular printing is disabled for debugging.
- Caching of the results of subtyping.
- Contracts for hashtable types (still insufficent)
- add type for `last-pair' from `scheme/list'
- new "private/type-abbrev.ss" which contains things
from "private/type-effect-convenience.ss" that don't
need subtyping/unions
- Don't use the real union constructor on mu unfolding
- more work on (not yet enabled) stxclass type parser
- Naming sanity in tests
svn: r13628
2009-02-15 22:56:14 +00:00
Sam Tobin-Hochstadt
3dd83a4e1c
remove this junk
...
svn: r13625
2009-02-15 22:29:27 +00:00
Sam Tobin-Hochstadt
c9377a1f9d
sync again
...
svn: r13624
2009-02-15 22:03:05 +00:00
Sam Tobin-Hochstadt
7991ce3ce6
sync to trunk
...
svn: r13623
2009-02-15 22:02:31 +00:00
Sam Tobin-Hochstadt
72e118d92f
Remove eta expansion, match is now fixed.
...
svn: r13622
2009-02-15 21:59:55 +00:00
Stevie Strickland
1943083cf9
Fix nested with-contracts by checking explicitly for ssps. Apparently
...
painting the bindings causes the ssp to later fail when you try to access
the parameter. Not sure if this is a bug or not, will talk to Matthew.
svn: r13621
2009-02-15 21:59:22 +00:00
Sam Tobin-Hochstadt
427241612c
mergeinfo
...
svn: r13620
2009-02-15 21:58:23 +00:00
Sam Tobin-Hochstadt
204806a13a
revert back to regular parse type
...
svn: r13619
2009-02-15 21:57:30 +00:00
Sam Tobin-Hochstadt
bf1aaa9dcb
add contract conversion for hashtables
...
svn: r13617
2009-02-15 21:55:03 +00:00
Sam Tobin-Hochstadt
2518d54da1
syncheck.ss now uses typed code
...
svn: r13616
2009-02-15 21:48:41 +00:00
Sam Tobin-Hochstadt
ed83737d5f
subtype caching
...
svn: r13615
2009-02-15 21:30:02 +00:00
Robby Findler
965110bc55
svn: r13614
2009-02-15 21:05:03 +00:00
Robby Findler
e99c3dc3d9
split things up so that there are two modes for running the file. See the README
...
svn: r13613
2009-02-15 20:57:25 +00:00
Sam Tobin-Hochstadt
aefaaa26d0
re-enable code
...
svn: r13612
2009-02-15 20:47:49 +00:00
Eli Barzilay
ea51547cae
Fix typo found by offby1
...
svn: r13611
2009-02-15 20:26:21 +00:00
Eli Barzilay
4820a0d007
remove svn:executable
...
svn: r13610
2009-02-15 18:44:52 +00:00
Sam Tobin-Hochstadt
738b8311af
sync to trunk
...
svn: r13609
2009-02-15 17:45:53 +00:00
Matthew Flatt
7daedece49
getting-started doc improvements, and small change to raise-syntax-error
...
svn: r13607
2009-02-15 15:15:06 +00:00
Robby Findler
435adfea0a
PR 10073
...
svn: r13606
2009-02-15 14:44:12 +00:00
Stevie Strickland
e453483b09
Okay, after some deep thought, I think I finally have a mental model for
...
exactly what unit/c is doing here that's appropriate for fixing this
section of code. ASCII art diagrams for the win!
This also shows how a unit/c contract addition differs from the use
of unit/new-import-export to switch sigs, which means that I'll likely
not be able to unify as much of the guts of the two as I'd like. Schade.
svn: r13605
2009-02-15 09:59:51 +00:00
Eli Barzilay
85e38ec26a
Welcome to a new PLT day.
...
svn: r13604
2009-02-15 08:50:25 +00:00
Stevie Strickland
534c50d900
Revise that test. The current behavior is correct, if odd.
...
svn: r13603
2009-02-15 08:40:54 +00:00
Stevie Strickland
b6fdabcd73
Going ahead and adding this test, but need to think about how to attack it.
...
svn: r13602
2009-02-15 08:31:13 +00:00
Stevie Strickland
af1e57d33e
Fix scoping of name.
...
svn: r13601
2009-02-15 06:36:00 +00:00
Stevie Strickland
62d82ca9be
Clean up some bindings, moving them from defines to letrec-syntax.
...
svn: r13599
2009-02-15 05:20:30 +00:00
Sam Tobin-Hochstadt
345abb820b
Use stxclass for defintern.
...
Use stxclass for dt and de, and refactor/simplify.
Don't use the real union for unfolding mu types.
Add some descriptions to syntax classes for type parsing.
svn: r13597
2009-02-15 04:01:30 +00:00
Matthew Flatt
154cb8d1fd
fix raise-syntax-error
...
svn: r13596
2009-02-15 03:05:02 +00:00
Robby Findler
eed5f52878
PR 10073
...
svn: r13595
2009-02-15 02:49:35 +00:00
Matthew Flatt
8a2c68cffc
improve hash docs to better point to the caveats (PR 10074)
...
svn: r13594
2009-02-15 02:31:42 +00:00
Matthew Flatt
089b9aed9e
,
...
svn: r13593
2009-02-15 02:08:34 +00:00
Matthias Felleisen
80bad96d24
fixed scheme{}
...
svn: r13592
2009-02-15 01:41:18 +00:00
Matthias Felleisen
f302dbfb91
integer-sqrt and make-rectangular added
...
svn: r13591
2009-02-15 01:34:54 +00:00
Matthias Felleisen
d43f58df4c
annotated integer inputs
...
svn: r13590
2009-02-15 01:31:08 +00:00
Matthias Felleisen
39736ecebd
renamed world to iworld, for internal
...
svn: r13589
2009-02-15 01:13:41 +00:00
Matthias Felleisen
4f24983d29
renamed world to iworld, for internal
...
svn: r13588
2009-02-15 01:11:24 +00:00
Matthias Felleisen
203ba8e2db
renamed world to iworld, for internal
...
svn: r13587
2009-02-15 00:57:41 +00:00
Robby Findler
7ac7491d53
svn: r13586
2009-02-14 22:40:42 +00:00
Robby Findler
7cc349eab4
Added Eli's check syntax-friendly let expression generation
...
svn: r13585
2009-02-14 21:47:33 +00:00
Stevie Strickland
cbcad0528c
There is now a new form, define-unit/contract, that basically mixes
...
define-unit with the application of a unit contract. So you can think
of it as a define/contract for units that keeps the static info needed
for link inference.
svn: r13584
2009-02-14 21:32:02 +00:00