John Clements
3e78806e67
added new safe-ops file that may be used instead of ops to disable unsafety
2010-09-28 08:12:25 -07:00
Matthew Flatt
337ace3847
add u8vector->cpointer for consistency; document ->cpointer, etc.
2010-09-27 06:08:58 -04:00
Robby Findler
43d7058a16
added tag because section title was too long.
2010-09-26 22:47:36 -05:00
Robby Findler
1f8bbf43a7
fixed pb-last-column-visible so the stepper now shows the last column when you click the '->' (next) button
2010-09-26 22:47:36 -05:00
Robby Findler
20252ef150
typos
2010-09-26 22:47:35 -05:00
Robby Findler
a6dea9b85c
removed current-pretty-printer (it was never released and it is
...
superceded by pretty-print-parameters).
2010-09-26 22:47:35 -05:00
Robby Findler
f87aa7ec61
added pretty-print-parameters to control how pretty printing happens for terms
2010-09-26 22:47:35 -05:00
Robby Findler
827679e9db
added contract to scale
2010-09-26 22:47:34 -05:00
John Clements
c0e34a7166
minor doc update to ffi/cvector
2010-09-25 17:19:03 -07:00
Robby Findler
2649e21e4b
fixed race-condition in hangman test case
2010-09-24 20:33:58 -05:00
Robby Findler
273e6e7d25
added paren-style
...
added missing provide for grammar-style
removed some dead code
2010-09-24 19:34:32 -05:00
Matthew Flatt
c1aa594657
add fvectors and unsafe-{s,u}16-{ref,set!}
2010-09-24 16:32:07 -06:00
Matthew Flatt
4038ce4bd1
rackety Mac OS X .rkt description
2010-09-24 16:32:07 -06:00
Stevie Strickland
76d926e8dc
Fix ormap application of binary function to single list.
2010-09-23 17:26:41 -04:00
Jay McCarthy
8aea4b11a5
Closing static file output
2010-09-23 13:38:04 -06:00
Stevie Strickland
d2a3cbf6d0
Add better first-order checking for ->d and ->i.
...
Closes PR 11247.
2010-09-23 14:35:45 -04:00
Vincent St-Amour
206fe52047
Improved TR's error messages in presence of case-lambda types.
...
- When displaying errors involving functions that have case-lambda
types with branches that are redundant modulo filters (such as <, >
and others), only the general branches appear in the error message.
(Real Real Real * -> Boolean, in the case of < and co.).
- For all errors involving case-lambda types, only domains for which
the return type is consistent with the expected type are displayed
in the error message. Further simplification is planned.
2010-09-23 12:59:47 -04:00
Vincent St-Amour
4aa7bc8439
Explained a design decision.
2010-09-23 12:12:15 -04:00
Robby Findler
5b375780bd
fixed incorrect renaming (noticed by Stevie)
2010-09-23 09:21:35 -05:00
Matthew Flatt
3d16dd698a
fix JIT-generated code for `vector-length' on a fixnum
...
and also code for operations like `fl<' on fixnums in
certain build modes (CGC, PPC)
2010-09-23 06:46:10 -06:00
Robby Findler
feddcdaef9
closes PR 11241
2010-09-23 06:25:21 -05:00
Robby Findler
7dbb287601
make bugs like that in PR 11241 easier to diagnose / see by turning
...
the hang into a dialog.
2010-09-23 06:25:21 -05:00
Matthias Felleisen
3c0039cd3a
drag explained, fixes 11243, Closes PR 11243
2010-09-22 14:37:52 -04:00
Mike Sperber
65bd667be2
Make parametric signatures work in BSL.
2010-09-22 11:35:00 +02:00
Mike Sperber
7304c061e3
Add `cons-of' signature constructor to HtDP languages.
2010-09-22 11:31:24 +02:00
Mike Sperber
593f8588fe
Implement lazy signature checking for ordinary pairs.
2010-09-22 11:03:01 +02:00
Robby Findler
b9155b8c5f
props
2010-09-21 18:54:20 -05:00
Robby Findler
5f6bae6854
adjusted many examples for the docs based on the previous commit's bug fix
2010-09-21 16:50:34 -05:00
Robby Findler
08b9396e2f
closes PR 11236
2010-09-21 16:47:55 -05:00
Robby Findler
8499a4e65d
added a test suite for the hangman teachpack
2010-09-21 15:27:49 -05:00
Robby Findler
d55932e3df
Adjusted the 'clear error highlight' menu item so it clears the coverage annotations too.
2010-09-21 15:08:12 -05:00
Robby Findler
d4c68e7359
added grammar-style for the ::= and | in grammars in redex typesetting
2010-09-21 15:08:12 -05:00
James Swaine
bd799c3db9
Small corrections to the futures documentation.
2010-09-21 11:15:50 -05:00
Mike Sperber
98c9ad4d22
Add `Any' contract to HtDP languages.
2010-09-21 16:23:58 +02:00
Robby Findler
bf409e6300
fix nominal problem with hangman (signature-related change unless I miss my guess)
2010-09-21 08:56:09 -05:00
Stevie Strickland
859ea63faa
Rework the naming conventions in {box,vector,hash}.rkt.
...
Fixing it so that errors aren't generated with "build-<foo>/c".
2010-09-20 18:26:47 -04:00
Stevie Strickland
277d9d199d
Convert or/c to create chaperone contracts when appropriate.
2010-09-20 18:26:47 -04:00
Stevie Strickland
4dab0745e4
Convert and/c to return chaperone contracts when appropriate.
2010-09-20 18:26:47 -04:00
Eli Barzilay
4117dfcc38
Oops, the magic list has fixed strings, not regexps
2010-09-20 15:39:25 -04:00
Eli Barzilay
7defa43ced
Change the old bibs to appear in popups instead of a sea of text files
2010-09-20 15:38:18 -04:00
Eli Barzilay
5b4c94649c
New techreport pages.
2010-09-20 15:38:18 -04:00
Eli Barzilay
93bd86ccc4
Allow getting the absolute URL of a resource
2010-09-20 15:38:18 -04:00
Eli Barzilay
126c7d1a0d
Change the people/places structs and way they are made.
...
It's also possible to use this as a central place to hold the list of
plt people for other purposes, works for the bib authors now (requires
making an organized list of the people).
2010-09-20 15:38:18 -04:00
Eli Barzilay
53adab8271
Move things around so there's a single place that specifies PLT people
...
and places.
2010-09-20 15:38:18 -04:00
Eli Barzilay
ee138cf2cb
Some repeated "and and"s and "the the"s, and two more typos.
...
Closes PR 11229.
2010-09-20 15:38:18 -04:00
Eli Barzilay
e222407a1d
Minor reorganization
2010-09-20 15:38:17 -04:00
Eli Barzilay
bb3dbeb2c0
Add "All Versions" page with a table of all versions and all packages.
2010-09-20 15:38:16 -04:00
Eli Barzilay
626627fcc7
* Narrow comment on plot example, enable datalog example & revised blurb.
...
* Minor typo in new-name.rkt
* Minor update to the menu item name for submitting bugs
2010-09-20 15:38:16 -04:00
Eli Barzilay
58afb93a17
Re-fix hadnin-server/overridden-collects props.
2010-09-20 15:37:24 -04:00
Eli Barzilay
d440e17dde
Some raketization, #lang, and reformat
2010-09-20 15:33:54 -04:00
Matthew Flatt
f67bb10c19
fix bug introduced with 'display-end change
2010-09-20 12:29:52 -06:00
Casey Klein
dca6b3a06e
Configures DrDr to ignore Redex compiler tests
2010-09-20 10:04:50 -05:00
Steven Jaconette
7169c0e53e
Second patch for redex compiler
...
-Fixes some bugs in the model
-Cleans up some unused code
-Adds the test cases
2010-09-20 10:04:50 -05:00
Kevin Tew
faa0c86f50
Places: fix asynchronous receive
2010-09-20 08:42:55 -06:00
Eli Barzilay
688b08408f
Magic string still has ".ss" in it.
2010-09-20 09:27:54 -04:00
Matthew Flatt
fa7dd9b522
rename file to avoid :, which is not allowed under Windows
2010-09-20 03:31:18 -06:00
Matthew Flatt
aac7e0b58a
extend invalidate-bitmap-cache' in
editor<%>' with 'display-end option
...
which the framework's background-rectangle implementation can use
to queue refreshes for changing rectangles, instead of requiring a
full-canvas refresh
2010-09-19 19:22:22 -06:00
Matthew Flatt
5afc2970a3
fix internal-defn handling of r6rs define form
2010-09-18 19:52:41 -06:00
Matthew Flatt
fd285baeac
fix documented canvas-scroll limits
2010-09-18 19:52:40 -06:00
Ryan Culpepper
d60e868da3
fixed contracts for dict-update, dict-update!
...
Closes PR 11228
2010-09-18 15:11:17 -06:00
Stevie Strickland
3325350026
At Robby's request, remove the check for proxy-of?.
...
Due to the bad interaction between procedure-rename and getting the
contract info from the proxy/chaperone, this will cause a failure in
the contract test cases. I'm submitting a bug report for that issue.
2010-09-18 13:55:09 -04:00
Mike Sperber
716c722bab
LaTeX fix for documentation.
2010-09-18 15:09:11 +02:00
Mike Sperber
79384f5706
Synch German string constants with latest.
2010-09-18 11:00:24 +02:00
Stevie Strickland
05e714881d
Convert unconstrained-domain-> to chaperones.
2010-09-17 23:08:05 -04:00
Matthew Flatt
d92c4e44e2
fix make-reader-graph on proxied vectors
2010-09-17 18:42:29 -06:00
Ryan Culpepper
0d76f8ecbf
added data/order, docs
...
changed splay-tree, skip-list constructors to take orders
2010-09-17 16:54:54 -06:00
Ryan Culpepper
3037dea5ad
fixed bug in interval-map
2010-09-17 16:54:54 -06:00
Ryan Culpepper
b74f3461e1
added general order functions
2010-09-17 16:54:54 -06:00
Ryan Culpepper
274c56a4d5
fixed bug in syntax/modcode docs
2010-09-17 16:54:53 -06:00
Ryan Culpepper
076bba5ee9
restricted interval-map interface, simplified code, based on splay-trees
...
removed old, awful skip-list iteration-mutation procedures
updated skip-lists
2010-09-17 16:54:53 -06:00
Matthew Flatt
f663307252
fix problem with procedure-chaperone, keywords, and proxy properties
2010-09-17 16:29:15 -06:00
Matthew Flatt
3866c3e450
generalize `flvector-copy' to support start and end indices
2010-09-17 13:35:01 -06:00
Will M. Farr
beb2175456
Added flvector-copy (with tests and docs).
2010-09-17 13:35:01 -06:00
Casey Klein
17ac1fae3a
Adds a parameter to enable the typesetting in commit ce211ac
2010-09-17 13:43:06 -05:00
Robby Findler
59213faf15
the name argument to contract can be anything (not just a symbol) so
...
adjust the code to deal with that properly
2010-09-17 13:14:00 -05:00
John Clements
a095ebc326
added format arg to printf to avoid corner-case printf bugs, rackety changes
2010-09-17 10:19:32 -07:00
Robby Findler
04defa4937
closes PR 10779
2010-09-17 11:49:36 -05:00
Robby Findler
ce211ac364
adjusted metafunction application rendering so that ellipses do not
...
get commas put in front of them
2010-09-17 11:39:07 -05:00
Robby Findler
c6fc7137ee
Adjusts the contract system so that it preserves the names of functions.
...
closes PR 11220
Altho, this does not fix the case where a function is being passed thru
another contracted function. Eg, when you give the identity function
this contract: (-> (-> integer? integer?) (-> integer? integer?))
if you pass some function with a name in there, it won't come
back with a name anymore (indeed, it won't even have the name
anymore in the body of the function).
For that, the fix would have to be put into each of the function
contract combinators.
2010-09-17 11:30:04 -05:00
Jay McCarthy
c1c1461596
Fixing DrDr props on handin
2010-09-17 10:20:35 -06:00
Mike Sperber
fcdfefea10
"Vertrag" -> "Signatur" in a few places.
2010-09-17 18:02:34 +02:00
Mike Sperber
333d82e6df
Fix some error messages for invalid : signature declarations.
2010-09-17 18:02:33 +02:00
Mike Sperber
8bc95ace01
Unbreak signatures for BSL.
2010-09-17 18:02:33 +02:00
Matthew Flatt
232a580e53
add prop:proxy-of'; Fix
chaperone-of' on keyword-accepting procedures
2010-09-17 08:55:46 -06:00
Mike Sperber
11f6ec1b98
Updated DMdA signature docs.
...
Added `any' and `unspecific', and some minor reorganization.
2010-09-17 10:00:54 +02:00
Jay McCarthy
2447d8d07c
Adding test case to clarify student's error
2010-09-16 21:00:05 -06:00
Jay McCarthy
01a41a812e
Closing pr11216. Adding one armed check-error to teaching languages.
...
[It will not bother me if we revert this commit. I liked SK's idea and found it easy to implement. I wonder if others will be worried that it is easy to unintentionally leave off the second argument to check-error. I also wonder if it is problematic to add new string constants, like I've done.]
Here is an example:
(check-error (/ 1 0) "/: division by zero")
(check-error (/ 1 0) "divide by zero")
(check-error (/ 1 0))
(check-error 1)
Here is the output:
Ran 4 tests.
2 of the 4 tests failed.
No signature violations.
Check failures:
check-error encountered the following error instead of the expected divide by zero
:: /: division by zero
in ex.rkt, line 2, column 0
check-error expected an error, but instead received the value 1.
in ex.rkt, line 4, column 0
2010-09-16 21:00:05 -06:00
Stevie Strickland
a930719a87
Add the contract information to chaperoned boxes, hashes, and vectors.
2010-09-16 20:49:04 -04:00
Stevie Strickland
51629f8c3d
Add new proxy property for contracted values.
...
Change has-contract? and value-contract to check for either prop:contracted
(the struct property) or proxy-prop:contracted (the proxy property).
2010-09-16 20:49:04 -04:00
Stevie Strickland
4080eacfb8
Fix the error when a chaperone contract does not return a valid value.
2010-09-16 16:30:49 -04:00
Jay McCarthy
afcc7c818d
Fixing redirectget test
2010-09-16 13:42:47 -06:00
Ryan Culpepper
3b95c7acd5
set responsibility for data collection
2010-09-16 13:20:07 -06:00
Ryan Culpepper
1a03a47842
updated splay-tree & skip-list interfaces, docs, tests, performance tests
2010-09-16 13:20:07 -06:00
Ryan Culpepper
12e2d6d76a
splay-tree: tried top-down splay, tested, no time advantage
2010-09-16 13:20:07 -06:00
Ryan Culpepper
19be445d89
contracts for gvector, skip-list
...
reorganized tests
2010-09-16 13:20:06 -06:00
Stevie Strickland
50c408e872
Simplify abstraction, now that it only deals with lists.
...
Also convert listof/non-empty-listof to create chaperone contracts
when appropriate.
2010-09-16 15:04:42 -04:00
Stevie Strickland
6446d267ea
Removing now-unneeded abstractions for *-immutable/c.
...
Also converting cons/c to create chaperone contracts when appropriate.
2010-09-16 15:04:41 -04:00
Stevie Strickland
2677cbf1a4
Cleanups to first-order checking for box/vector/hash contracts.
...
* We no longer capture a contination when we have blame information.
* We perform first-order checks more eagerly in the mutable case.
2010-09-16 15:04:41 -04:00
Stevie Strickland
2c940a7fd0
Alter the documentation for vector contracts to match the new implementations.
2010-09-16 15:04:41 -04:00
Stevie Strickland
b416b7e5bb
Now migrate vector/c and vector-immutable/c.
...
Also add old-style vector/c to mzlib/contract.
2010-09-16 15:04:41 -04:00
Stevie Strickland
3028f2d142
Convert vectorof/vector-immutableof to the new regime.
...
Also add old-style vectorof to mzlib/contract.
2010-09-16 15:04:41 -04:00
Stevie Strickland
c8737d5615
Separate out vector-related contract combinators into a new file.
2010-09-16 15:04:41 -04:00
Jay McCarthy
089e99fac6
Removing debugging aid
2010-09-16 12:45:38 -06:00
Blake Johnson
c88eb704c7
removing indirects from zo handling
2010-09-16 12:45:37 -06:00
Jay McCarthy
4f49658835
Fixing problem reported by Robby.
...
Contracts intefere with safety marks.
2010-09-16 12:45:37 -06:00
Jay McCarthy
ab5a9ff1e8
Removing extra run-tests
2010-09-16 12:45:37 -06:00
Jay McCarthy
1f4c525245
Fixing pr11214
2010-09-16 12:45:37 -06:00
Jay McCarthy
3498ac8744
Doc rearrange re Robby
2010-09-16 12:45:37 -06:00
Jay McCarthy
c87877349e
Doc clarification re Robby
2010-09-16 12:45:37 -06:00
Jay McCarthy
4ce56d00ef
Fixing xref re Robby
2010-09-16 12:45:36 -06:00
Jay McCarthy
4a89ccea5d
Fixing an annoyance with eli-tester when the error string contains ~
2010-09-16 12:45:36 -06:00
Jay McCarthy
940438e7c4
Adding DrDr monitor
2010-09-16 12:45:36 -06:00
Robby Findler
b8fc5fcfce
Rackety
2010-09-16 13:37:34 -05:00
Robby Findler
28a253b206
added current-pretty-printer
2010-09-16 13:37:33 -05:00
Vincent St-Amour
e0bda30738
Documented optional for: and let: annotations.
2010-09-16 13:24:11 -04:00
Vincent St-Amour
7e2094f2d7
Added a test for optional let annotations.
2010-09-16 13:24:10 -04:00
Vincent St-Amour
8aab96faa6
Made annotations optional for let: and variants.
2010-09-16 13:24:10 -04:00
Mike Sperber
9e94a327b8
Add `any' signature to DMdA languages.
2010-09-16 18:19:32 +02:00
Robby Findler
d03a7b220a
added docs for linebreaks parameter
...
Adjusted implementation of linebreaking so that
when there are linebreaks in a metafunction, the =
signs line up together independent of the broken lines
2010-09-16 10:51:17 -05:00
Vincent St-Amour
e03e53b1cb
Fix some optimizer test logs to reflect racket changes.
2010-09-16 10:48:28 -04:00
Vincent St-Amour
9f87b5a7e6
Made some type annotations optional in the for: macros.
2010-09-15 20:21:51 -04:00
Vincent St-Amour
8b60085a17
Removed useless requires.
2010-09-15 20:21:51 -04:00
Vincent St-Amour
1b28aa41c7
Removed an obsolete comment.
2010-09-15 20:21:51 -04:00
Vincent St-Amour
a10d145f25
Added annotated versions of the for macros that generate vectors.
...
They are purposedly left out of the documentation since the typchecker
can't currently handle their expansion.
2010-09-15 20:21:50 -04:00
Vincent St-Amour
65c502f9d7
Added a test to make sure derived lists accessors don't get optimized then they shouldn't.
2010-09-15 20:21:50 -04:00
Stevie Strickland
fce93a2d98
Altering the box/c and box-immutable/c documentation.
2010-09-15 17:17:38 -04:00
Stevie Strickland
e3678a937e
Change box-immutable/c to use box/c with #:immutable #t.
2010-09-15 17:05:34 -04:00
Stevie Strickland
99e5d6fd6c
Add appropriate syntax properties to uses of box/c.
2010-09-15 16:57:17 -04:00
Stevie Strickland
994ad6d10f
Now change box/c to use proxies or chaperones appropriately.
...
Create a mzlib/contract compatible version of the old box/c and use that
for mzlib/contract. Change the docs so that the docs for mzlib/contract
contain the right information.
Fix the typed-scheme implementation to only force flat box (or hash)
contracts when it already is required to be flat. Otherwise, allow
non-flat contracts for the element contract (or domain/range contracts).
2010-09-15 16:57:17 -04:00
Stevie Strickland
b8fb6dae9a
Initially just move the box-related combinators to a new location.
2010-09-15 16:53:18 -04:00
Stevie Strickland
a838fa0606
Fixing the docs for the new hash/c combinator.
2010-09-15 15:04:27 -04:00
Stevie Strickland
4a48da022b
Adding syntax properties for contract obligations to uses of hash/c.
2010-09-15 15:01:27 -04:00
Stevie Strickland
56b83e4a96
Add chaperone-based hash/c contracts.
...
* Domain contracts must be either flat or chaperone contracts.
* When the domain is a chaperone contract, hash/c must check
that the hash is equal?-based.
2010-09-15 13:57:50 -04:00
Stevie Strickland
d2b3ee8892
Code and test fixes for new chaperone-based hash/c contracts.
2010-09-15 13:37:37 -04:00
Stevie Strickland
f5b62ececd
Separate out hash/c code into a separate module.
2010-09-15 11:22:57 -04:00
Stevie Strickland
a1c188ae74
Add appropriate documentation for the new chaperone contract forms.
2010-09-15 10:11:10 -04:00
Robby Findler
3121ab0fce
I agree with Stevie that 1 is the right answer here.
2010-09-15 08:23:34 -05:00
Stevie Strickland
ec0711bf49
Add chaperone contract-related properties.
...
* Flat contracts are chaperone contracts, and chaperone contracts
are (proxy) contracts.
* Check in chaperone contracts that a chaperone (or chaperone-friendly
value) is indeed returned.
2010-09-14 18:29:39 -04:00
Stevie Strickland
56a5a2627e
Enforce that flat contracts return the original value.
...
Also fix up tail call contract handling, which was affected by this change.
2010-09-14 18:28:46 -04:00
Stevie Strickland
df18d1914d
Clean up guts.rkt using for/list and for/and.
2010-09-14 18:03:08 -04:00
Stevie Strickland
a0390d4ca8
Fix name used by coerce-contract for contract-first-order.
2010-09-14 18:03:08 -04:00
Jay McCarthy
eb3d46cc0c
Improving xexpr error re Robby
2010-09-14 13:07:19 -06:00
Ryan Culpepper
4a29ce914f
and, or now wrap single term with #%expression
...
That disallows things like (and (define x 1)), previously accepted.
2010-09-14 12:31:26 -06:00
Ryan Culpepper
ae645a18c1
added dict-*-contract to racket/dict
...
added experimental ordered-dict generics (not public yet, no docs)
2010-09-14 12:31:26 -06:00
Ryan Culpepper
58aa6873fe
added data/heap tests
...
doc fixes
2010-09-14 12:31:26 -06:00
Ryan Culpepper
8b0810dc39
docs for data/heap
...
fixed contract in data/splay-tree
2010-09-14 12:31:26 -06:00
Matthew Flatt
a5c7d4f5f8
add scheme_get_place_table()
2010-09-14 09:35:44 -06:00
Matthew Flatt
cb09dfbdd3
add another protocol to scheme_add_gc_callback()
2010-09-14 09:21:57 -06:00
Matthew Flatt
3e5c7fefdd
add scheme_add_gc_callback() hook for gc notification in a way that lets you describe a foreign function to call without allocating or the call; the allowed protocols are contrained and ad hoc, but it will be enough for GRacket2
2010-09-14 09:21:47 -06:00
Matthew Flatt
b601aa1ca3
fix pretty-print graph bug
2010-09-14 08:05:35 -06:00