Commit Graph

80 Commits

Author SHA1 Message Date
Vincent St-Amour
5a24b57a95 Fix unstable/logging to work with the new logging system. 2012-09-11 13:48:14 -04:00
Ryan Culpepper
1a77f4ee0e added recontract-out 2012-08-03 20:52:35 -04:00
Asumu Takikawa
44783b9f8e Add tests from unstable/generics. 2012-05-24 16:51:10 -04:00
Vincent St-Amour
36980c262f unstable/generics: define-methods' -> methods'
`define-methods' is a bad name for an expression form.
2012-05-24 16:31:31 -04:00
Jay McCarthy
e12e559878 Fix breakage from 3fceae2715 2012-05-17 10:29:55 -06:00
Ryan Culpepper
745607a51d added unstable/cat 2012-05-08 14:50:28 -06:00
Vincent St-Amour
4a8f447dae Remove unstable/port.
`port->list' does all it can do.
2012-02-27 22:03:39 -05:00
Ryan Culpepper
6ac708a3da pruned unstable/syntax 2011-12-18 13:57:49 -07:00
Ryan Culpepper
a4c6c7cfce pruned unstable/port 2011-12-18 13:57:48 -07:00
Ryan Culpepper
bc7401d4d9 pruned unstable/function 2011-12-18 13:57:48 -07:00
Ryan Culpepper
e4e89b0bc9 removed unstable/exn (moved code to single use in web-server) 2011-12-18 13:57:44 -07:00
Ryan Culpepper
53fc18008c removed unstable/dict (no uses) 2011-12-18 13:57:14 -07:00
Ryan Culpepper
4f9da1fd1c pruned unstable/define 2011-12-18 13:56:00 -07:00
Ryan Culpepper
f99d79ef10 pruned unstable/contract
Removed unused code. Removed nat/c, pos/c as they correspond to
standard predicates.
2011-12-18 13:56:00 -07:00
Vincent St-Amour
664245ae69 Add in-slice sequences.
Patch from David Vanderson.
2011-12-16 13:50:25 -05:00
Vincent St-Amour
29bea4863e Add group-by to unstable/list. 2011-11-30 17:54:28 -05:00
Neil Toronto
e90ec4b69f Added unstable/latent-contract
Reorganized contracts
Started exposing customization API in plot/utils
Now dog-fooding customization API in earnest
2011-11-10 12:59:41 -07:00
Neil Toronto
ae64e8683a Parameter groups 2011-11-10 12:59:41 -07:00
Eli Barzilay
623c7493ed Some selective #:when (not ...)' -> #:unless ...'. 2011-09-16 10:48:18 -04:00
Jay McCarthy
2dc0098d86 Changing test phase 2011-08-30 08:52:54 -06:00
Carl Eastlund
871ea6dc76 Added tests for sequence/c with multiple-valued sequences. 2011-08-27 12:57:26 -04:00
Jay McCarthy
6da3ac36ec Test is sensitive to contract messages 2011-08-09 06:42:09 -06:00
Vincent St-Amour
b068e4a53b Add a lower-level interface to unstable/logging. 2011-07-21 17:06:03 -04:00
Robby Findler
fbccf38d50 completed the planet library documentation and, in the process,
cleaned up various dependencies and exports from some of the libraries
2011-07-08 15:51:05 -05:00
Jay McCarthy
f55ec3def7 It is very odd that racket/load doesn't let this work 2011-07-02 14:04:52 -07:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Eli Barzilay
40124a0619 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Jay McCarthy
6abeab42d5 Updating require paths, making tests succeed, and fixing docs 2011-06-24 13:48:41 -06:00
Jay McCarthy
375d6b8497 Initial adding of temporal contract library 2011-06-24 13:48:40 -06:00
Eli Barzilay
a70ef57f02 Move identity' from unstable/function' into `racket/function'. 2011-06-07 03:38:06 -04:00
Eli Barzilay
2eb0a94677 Removed a bogus provide and two bogus tests.
(Which worked because the same functionality is part of `racket'.)
2011-06-07 03:38:06 -04:00
Vincent St-Amour
801354fa4a Add syntax-within? to unstable/syntax. 2011-06-02 18:37:42 -04:00
Asumu Takikawa
f4aab53efa Added option/c for possibly #f values in unstable. 2011-05-26 00:37:06 -04:00
Ryan Culpepper
c0bd4e8dbc removed unused code from unstable/hash 2011-04-12 09:35:26 -06:00
Ryan Culpepper
033e060bf3 removed unstable/sexp-diff 2011-04-12 09:35:26 -06:00
Ryan Culpepper
459cce23be moved contents of unstable/set to racket/set 2011-04-12 09:35:26 -06:00
Ryan Culpepper
ccc70fca73 removed unused modules and code from unstable 2011-04-12 09:35:26 -06:00
Ryan Culpepper
e0db3ed2e3 fixed tests for moved unstable libs 2011-04-08 10:30:32 -06:00
Ryan Culpepper
3e5a54c9e4 unstable/syntax: removed unused code and exports 2011-04-07 09:47:20 -06:00
Ryan Culpepper
73ab167522 created racket/syntax from parts of unstable/syntax 2011-04-07 09:47:20 -06:00
Sam Tobin-Hochstadt
cb6d78698b Count pairs as having size 1, not 0, in minimizing edit distance. 2010-12-08 18:22:29 -05:00
Jay McCarthy
d28dc2ae41 Revert "Adding dynamic/c and coerce/c"
This reverts commit cec308cc363a69d561097e978352488c996385ed.
2010-12-07 14:14:55 -07:00
Jay McCarthy
d6d9f3ef8c Adding dynamic/c and coerce/c 2010-12-07 14:14:53 -07:00
Sam Tobin-Hochstadt
0635fc6d75 Create data/ collection.
- Initially populated with queues, skip-lists, and interval-maps from unstable/
 - Tests in tests/data, docs in data/scribblings
2010-08-26 18:22:28 -04:00
Jay McCarthy
d047557dc6 Adding dict-has-key? and updating unstable 2010-08-12 14:10:18 -06:00
Jay McCarthy
958c771ec8 Removing dict functions from unstable 2010-08-12 14:10:18 -06:00
Jay McCarthy
58ad011ce9 Adding hash->list 2010-08-11 16:42:46 -06:00
Ryan Culpepper
a543c2137e unstable: removed byte-counting-port.rkt (use open-output-nowhere instead)
updated test to verify that open-output-nowhere has same behavior
2010-07-01 17:05:06 -06:00
Eli Barzilay
3f36d054f6 Turn contracts on enqueue!' and dequeue!' into the usual error checks.
On a simple benchmark of:

  (let ([N 100000]
        [M 20]
        [q (make-queue)])
    (time (for ([i (in-range M)])
            (for ([i (in-range (* i N))]) (enqueue! q i))
            (unless (for/and ([i (in-range (* i N))]) (list i (dequeue! q)))
              (error "poof")))))

I get these timings:

  original version: cpu time: 24438 real time: 24439 gc time: 8164
  single-links:     cpu time: 17848 real time: 17849 gc time: 4859
  this version:     cpu time:  6519 real time:  6519 gc time: 3032

In addition, cleaned up the documentation a little, and mention the fact
that it is not thread safe.
2010-06-23 16:13:54 -04:00
Eli Barzilay
d986fed725 Uses a simpler single-linked list, about half of the meat code, and much
faster due to the removed overhead of dealing with the redundant
pointers.
2010-06-23 16:13:53 -04:00