Commit Graph

16413 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
0149a05719 Fix promise printing, add docs. Closes PR 10968. 2010-06-09 16:56:31 -04:00
Kevin Tew
93eed922b9 Move collects path initialization before kernel creation 2010-06-09 14:17:39 -06:00
Stevie Strickland
7b38cef4e8 Fix first-order cons/c check in mzlib contract tests. 2010-06-09 15:52:29 -04:00
Sam Tobin-Hochstadt
3151566125 Improve TS reference docs
- lots of examples
 - reorganize type listing
 - add Zero type
2010-06-09 15:44:46 -04:00
Vincent St-Amour
436e001b0e Fixed the implementation of Channel types. 2010-06-09 15:28:10 -04:00
Vincent St-Amour
2fd1e3ac9f Modified the numeric base type environment. 2010-06-09 14:54:39 -04:00
Vincent St-Amour
04e618388c Added some Bytes and IO-related stuff to Typed Scheme. 2010-06-09 14:54:38 -04:00
Vincent St-Amour
6b4ca4d7b0 Added tests and documentation for Thread and Channel types. 2010-06-09 14:54:37 -04:00
Vincent St-Amour
15b0c8542d Added the Thread type and related functions. 2010-06-09 14:54:36 -04:00
Vincent St-Amour
ec799fb208 Added Channel types. 2010-06-09 14:54:35 -04:00
Vincent St-Amour
0741b48c99 Modified the for: macros to use sequence types. 2010-06-09 14:54:34 -04:00
Vincent St-Amour
2cd0321a23 Took responsibility for Typed Scheme's optimizer. 2010-06-09 14:54:33 -04:00
Vincent St-Amour
f42880c320 Moved the typed common benchmarks to a separate subdirectory. 2010-06-09 14:54:33 -04:00
Vincent St-Amour
077e1d9bca Increased the size of the pseudoknot benchmark and ported it to
idiomatic racket, then to Typed Scheme.
2010-06-09 14:51:52 -04:00
Stevie Strickland
bad92f348b Avoid building unnecessary intermediate lists. 2010-06-09 14:26:26 -04:00
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