Commit Graph

16598 Commits

Author SHA1 Message Date
Stevie Strickland
99bb46d225 Fix flat immutable container ctcs so that errors pinpoint specific elements.
* Fixes immutable container contract combinators so that, if given flat
   contracts, they report blame errors in terms of the specific element
   that failed, instead of reporting the entire container as failing.

   This fixes issues seen with contracts such as (listof string?), where
   the contract is applied to a list with far too many elements to print
   all at once and the failing element is never printed.

 * Fixes vector-immutable/c so that if all the element contracts are flat,
   we create a flat contract, like the other immutable container contract
   combinators.

 * Also have more appropriate first-order checks for each combinator
   than just "Is it the right type of container?".

These changes affect:
 listof
 non-empty-listof
 vector-immutableof
 cons/c
 box-immutable/c
 vector-immutable/c
2010-06-09 13:29:04 -04:00
Matthew Flatt
d6ddbe15d5 support kw/opt args in define-syntax' and define-for-syntax' 2010-06-09 13:05:43 -04:00
Sam Tobin-Hochstadt
30fe053f78 typed/racket/no-check 2010-06-09 12:51:27 -04:00
Sam Tobin-Hochstadt
ed5b10afd2 document `assert' 2010-06-09 12:20:39 -04:00
Sam Tobin-Hochstadt
78023d08f9 Sequenceof type.
- inferencing and subtyping relation with vectors, lists, etc
- use in `make-sequence'
- add tests
2010-06-09 11:03:12 -04:00
Mike Sperber
2c964b91f0 Provide prop:print-converter propery with `define-record-procedures'.
This fixes quasiquote and constructor-style printing to not fall for
the extra lazy-contract-checking field.
2010-06-09 14:37:36 +02:00
Mike Sperber
fc879f1894 Make use of stepper-define-struct-hint' in define-record-procedures'. 2010-06-09 14:33:21 +02:00
Sam Tobin-Hochstadt
78832fe332 Support case-lambda with multiple branches with keyword arguments. 2010-06-08 17:50:48 -04:00
Robby Findler
716aacf388 changed the framework's standard menus frame so that the quit menu is
never created under mac os x (which is the right behavior to make quit
actually work properly).
2010-06-08 16:45:15 -05:00
Sam Tobin-Hochstadt
c8732f12e4 fix prop 2010-06-08 16:55:46 -04:00
Sam Tobin-Hochstadt
ab70fed8a8 Scheme -> Racket in styles
Scribble style names.
 .tex and .css files
2010-06-08 16:40:47 -04:00
Ryan Culpepper
b6b8e29957 macro-debugger: made properties display respect inverted-colors mode 2010-06-08 14:12:34 -06:00
Ryan Culpepper
1c9bb4a72a macro-stepper: fixed colors for white-on-black display 2010-06-08 14:12:34 -06:00
Sam Tobin-Hochstadt
679967b491 PLT Scheme -> Racket 2010-06-08 13:08:13 -04:00
Sam Tobin-Hochstadt
6d2b5569f4 Remove bogus #lang line 2010-06-08 13:08:13 -04:00
Sam Tobin-Hochstadt
84eae2b5e3 scheme -> racket in test-engine 2010-06-08 12:34:20 -04:00
Robby Findler
e74e929a92 changed the macro stepper to be responsive to the white-on-black preference
(but there is still some work to do to actually select a reasonable set
 of colors and probably some refactoring, but at least the interface with
 the framework is there now, so the changes should not be hard from here on)
2010-06-08 11:33:29 -05:00
Sam Tobin-Hochstadt
a8593de3c1 Scheme -> Racket fixes 2010-06-08 12:23:50 -04:00
Sam Tobin-Hochstadt
16391dda3d Fix Scheme/Racket typo. Closes PR 10965. 2010-06-08 12:05:58 -04:00
Sam Tobin-Hochstadt
9fc7a1eca4 Use `assert' for casts in typed benchmarks. 2010-06-08 12:05:58 -04:00
Sam Tobin-Hochstadt
0f4db44be3 more precise type for `max' 2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
e44e454b94 Predicates for numeric comparisons. 2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
5f5dca4c69 Undo changes to benchmarks to use `sub1'. 2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
7f300a2c4f Special-case (- x 1) for use in loops. 2010-06-08 12:05:56 -04:00
Carl Eastlund
d035c30254 Added DrDr house-calls directory to git-ignored files. 2010-06-07 23:00:17 -04:00
Matthew Flatt
1b0a173b34 fix detail in name-change faq 2010-06-07 20:51:44 -04:00
Sam Tobin-Hochstadt
b1ea02d546 fix typo 2010-06-07 20:45:54 -04:00
Matthew Flatt
1712dfb7f5 fix make-gui-namespace from scheme/gui/base and racket/gui/base
so that the namespace starts with scheme/base or racket/base
 respectively
2010-06-07 20:06:51 -04:00
Matthew Flatt
6b24320ea7 fix overzealous replacement of "Scheme" with "Racket" in quick
but a more extensive rewrite is probably warranted
2010-06-07 20:06:51 -04:00
Eli Barzilay
05f93bfc28 Add version indicator. 2010-06-07 14:08:50 -04:00
Sam Tobin-Hochstadt
7df8e32793 Properly handling immutable invariant structs. 2010-06-07 14:03:06 -04:00
Eli Barzilay
57d0011d58 Put a download button on the toplevel download page too.
The download toplevel is not meant to be part of the web, but people
will still get there -- so be nice.
2010-06-07 13:41:13 -04:00
Eli Barzilay
225c94cca6 The navbar also uses the download page.
(This leaves the toplevel download page unlinked (as expected), so it's
required explicitly.)
2010-06-07 13:41:13 -04:00
Eli Barzilay
81a9bbafd6 Download platform selector 2010-06-07 13:41:13 -04:00
Eli Barzilay
54bef4cfa1 Per installer pages 2010-06-07 13:41:13 -04:00
Eli Barzilay
9338211cf6 Current installers listing 2010-06-07 13:41:13 -04:00
Eli Barzilay
7e088a324e Move the download button into the download file. 2010-06-07 13:41:13 -04:00
Eli Barzilay
c9146b38e5 Add download and version information; download page on main site. 2010-06-07 13:41:13 -04:00
Eli Barzilay
fdd1c8d003 Toplevel download links 2010-06-07 13:41:13 -04:00
Eli Barzilay
2edf998fdb No need for multiple arguments here 2010-06-07 13:41:13 -04:00
Robby Findler
00cfe953a7 removed an unecessary parameter (the function was only called in one place and the argument expression was a variable that was also bound in the body of the called function and that variable was already used in a few other places, so the parameter was confusing here, making it seem to be a different value) 2010-06-07 11:43:36 -05:00
Robby Findler
9d75530d97 removed unused import 2010-06-07 11:43:36 -05:00
Casey Klein
abd035aec2 Fixes a bug in the way Redex generates tests to exercise the LHSs of a
meta-function or reduction relation.
2010-06-07 10:52:23 -05:00
Mike Sperber
93d7ec9446 Don't recheck DMdA lazy contracts we've already checked.
We avoided re-applying contracts that haven't been checked, but not
those that have.  Do so now.
2010-06-07 17:06:07 +02:00
Carl Eastlund
4c1eff839d Tell DrDr to use gracket-text for new unstable/gui libraries. 2010-06-07 00:10:28 -04:00
Carl Eastlund
e67096b276 Documented path->package-version. 2010-06-06 21:19:28 -04:00
Carl Eastlund
5d212ce1bd Completed the adaptation of (planet cce/scheme:7) to collects/unstable.
Removed the staging area collects/unstable/cce.
2010-06-06 20:31:37 -04:00
Carl Eastlund
e7814b63a7 Renamed call/debug from unstable/debug to debugf. 2010-06-06 20:31:37 -04:00
Carl Eastlund
a915d7c053 Changed unstable/debug to use error printing instead of logger output. 2010-06-06 20:31:36 -04:00
Carl Eastlund
ddc889532e Replaced unstable/debug with unstable/cce/debug. 2010-06-06 20:31:36 -04:00