Matthew Flatt
e504acb726
use .rktl suffix for files meant to be 'load'ed
2010-05-01 09:58:16 -06:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Carl Eastlund
bd9b6e9e97
Made unit contract test regular expressions more robust.
...
svn: r17782
2010-01-23 18:31:32 +00:00
Stevie Strickland
ab3dd78cb1
Removing scheme/load I used for editing this.
...
svn: r17580
2010-01-08 21:04:21 +00:00
Stevie Strickland
1c47ecc346
Just fixing the unit testcases so that they don't error.
...
svn: r17579
2010-01-08 21:03:17 +00:00
Stevie Strickland
ea20ee160f
Add a dummy lambda expansion to signature compilation to ensure that the
...
expressions only refer to locally-bound names or names that are part of the
signature itself.
svn: r17573
2010-01-08 18:47:51 +00:00
Stevie Strickland
9e0f2a3c5f
Identifiers in signature contracts don't use whatever prefixing or such may be
...
in play in the body of a unit, so we need to rename the "external" version to
the "internal" version. This fixes PR 10246.
svn: r17571
2010-01-08 17:20:19 +00:00
Stevie Strickland
cf78f9173c
These tests are so outdated, that if they ever get put back, they'll have
...
to change almost completely anyway. Jettison the whole mess.
svn: r16454
2009-10-29 19:08:40 +00:00
Stevie Strickland
4bad2f34c1
Fix another of the tests for units.
...
svn: r16452
2009-10-29 18:38:08 +00:00
Stevie Strickland
0385b2f89d
Fix require-for-syntax -> require + for-syntax
...
svn: r16367
2009-10-19 16:11:52 +00:00
Stevie Strickland
7d551aa0f2
Small change so that failures due to the implicit compound-unit/infer (like
...
init-depend failures) will show define-values/invoke-unit/infer as the
original source of the problem.
svn: r15780
2009-08-18 23:22:32 +00:00
Eli Barzilay
a70bf64fd9
Newlines at EOFs
...
svn: r15380
2009-07-04 02:28:31 +00:00
Stevie Strickland
99aac7d745
Sam and I did some work to allow automatic inferred linking in
...
(define-values/)invoke-unit/infer.
svn: r14315
2009-03-27 13:47:12 +00:00
Stevie Strickland
7d22b05e7c
Make it so that we do more precise checking on the contract errors, so that
...
if the blame or objects involved change, we'll get an error instead of having
to manually detect it.
svn: r13886
2009-03-01 01:37:45 +00:00
Stevie Strickland
c6b92782e2
Rename cstruct to struct/ctc, to avoid confusion with cstruct from the ffi.
...
svn: r13661
2009-02-16 14:50:59 +00:00
Stevie Strickland
340035bef7
Adding cstruct, which is like the struct signature form but with contracts.
...
svn: r13647
2009-02-16 02:51:12 +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
62d82ca9be
Clean up some bindings, moving them from defines to letrec-syntax.
...
svn: r13599
2009-02-15 05:20:30 +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
Stevie Strickland
387c8b210f
* Fix unit/c so that less unnecessary code is generated.
...
* Fix contracts for signatures and units so that references to
other signature members work appropriately.
* Add text about signature and unit contracts to the Guide.
svn: r13562
2009-02-13 22:50:49 +00:00
Stevie Strickland
8656e7e918
Fix up the contracts so that they properly refer to locally defined variables.
...
svn: r13527
2009-02-12 03:51:40 +00:00
Stevie Strickland
12110acfe3
Add test for non-unit check.
...
svn: r13526
2009-02-12 00:49:56 +00:00
Stevie Strickland
fbb5de4fa7
Adding the initial cut at unit/c.
...
svn: r13524
2009-02-11 22:46:48 +00:00
Stevie Strickland
f6493e1c32
Abstraction of the boxes used for unit imports/exports to allow for adding
...
contracts in an already created unit.
svn: r13331
2009-01-31 01:39:23 +00:00
Stevie Strickland
2f323578de
Disallow unit/new-import-export if contracts are involved. This is not
...
planned to be permanent, but until I've figured out how to implement the
fix, just say no.
svn: r13311
2009-01-29 07:19:23 +00:00
Stevie Strickland
e1d5ced45e
Only apply a single contract wrapping to a value contracted through unit
...
exporting/importing. Also add some more unit contract tests.
svn: r13203
2009-01-18 10:38:52 +00:00
Stevie Strickland
f6d571db40
Add a test that involves blame on a non-unit entity.
...
svn: r13182
2009-01-16 20:46:39 +00:00
Stevie Strickland
b29b08dec0
Adding tests, because we should.
...
svn: r13175
2009-01-16 18:24:59 +00:00
Stevie Strickland
4fd8753c66
Start of a testing framework for unit contracts.
...
svn: r13173
2009-01-16 17:50:05 +00:00
Matthew Flatt
a0f91d905e
revised internal-definitions context and a basic 'define-package' form
...
svn: r12579
2008-11-24 19:52:41 +00:00
Matthew Flatt
2480a1c4e8
extra int-def tests
...
svn: r12565
2008-11-21 14:01:32 +00:00
Matthew Flatt
8b595ed120
make-syntax-delta-introducer and adjusted binding in scheme/unit forms
...
svn: r12032
2008-10-14 13:27:43 +00:00
Eli Barzilay
7d50e61c7f
* Newlines at EOFs
...
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind
svn: r10689
2008-07-09 07:18:06 +00:00
Matthew Flatt
3f60a478ad
use new 'serialized=?' to tighten setup scribble fixpoint
...
svn: r10428
2008-06-23 19:28:08 +00:00
Matthew Flatt
d597605d24
fix some 'unit' tests
...
svn: r9680
2008-05-06 11:48:46 +00:00
Eli Barzilay
bb34f747b6
make all files terminate with a newline
...
svn: r8786
2008-02-24 21:27:36 +00:00
Eli Barzilay
b1a08edd5a
use new require specs in many places
...
svn: r8774
2008-02-23 09:42:03 +00:00
Eli Barzilay
3459c3a58f
merged units branch
...
svn: r5033
2006-12-05 20:31:14 +00:00