Eli Barzilay
debd1f9f1e
Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
...
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Ryan Culpepper
5bf4b1c930
moved phase-of-enclosing-module to unstable/syntax
...
closes PR 11970
2011-06-10 13:22:33 -06:00
Eli Barzilay
a7aad558a3
Seems that this file is never used, possibly committed by mistake.
2011-06-07 03:42:00 -04:00
Eli Barzilay
17b6ffa731
Move thunk' from
unstable/function' into `racket/function'.
...
Actually, the new `thunk' is a nullary function, which I think is very
popular expectation for the name. Since there are possible uses for the
any-arity version, it's added too, as `thunk*'.
2011-06-07 03:38:06 -04: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
Eli Barzilay
3f9bc25c5c
Remove `eval/require' and many of its one-time uses.
...
(Cuts the rendering time for unstable by around 50%.)
2011-06-06 09:48:04 -04:00
Vincent St-Amour
1ad63e5da0
Unify doc formatting.
2011-06-02 18:39:32 -04:00
Vincent St-Amour
801354fa4a
Add syntax-within? to unstable/syntax.
2011-06-02 18:37:42 -04:00
Vincent St-Amour
c32efa727c
Document with-intercepted-logging.
2011-06-01 16:11:11 -04:00
Vincent St-Amour
b71d3cf40c
Fix limitations of with-intercepted-logging.
2011-06-01 16:11:10 -04:00
Vincent St-Amour
b86d759b62
Provide with-intercepted-logging.
2011-06-01 16:11:10 -04:00
Vincent St-Amour
fc705c6e29
Implement with-logging-to-port in terms of something more general.
2011-06-01 16:11:10 -04:00
Vincent St-Amour
0538f21274
Make level a keyword argument for with-logging-to-port.
2011-06-01 15:24:15 -04:00
Vincent St-Amour
fe161a780c
List known limitations of with-logging-to-port.
2011-06-01 15:20:36 -04:00
Vincent St-Amour
8d96133681
Add with-logging-to-port to unstable.
2011-05-31 19:14:38 -04:00
John Clements
10cb0e61e2
oops, no match available here
2011-05-26 17:46:05 -07:00
John Clements
53cfbd27c1
fix to string to fulfill contract on empty input
2011-05-26 14:50:35 -07:00
Asumu Takikawa
f4aab53efa
Added option/c for possibly #f values in unstable.
2011-05-26 00:37:06 -04:00
Ryan Culpepper
56bb28dfc6
unstable/syntax: added explode-module-path-index
2011-05-11 15:56:24 -06:00
Ryan Culpepper
dc0138bcb7
minor doc fix (optional args last)
2011-05-11 15:56:24 -06:00
Robby Findler
507b1cd8fd
moved the docs-complete library into rackunit
...
to avoid having a separate, new manual for the
one library
2011-05-05 16:10:42 -05:00
Carl Eastlund
4990029922
Added documentation for define-renaming.
2011-04-30 20:06:59 -04:00
Carl Eastlund
723d389d59
Singular version of define-renamings.
2011-04-30 20:06:59 -04:00
Carl Eastlund
01f1add1cb
Made define-syntax-block less restrictive about source of bindings.
2011-04-30 20:06:59 -04:00
Robby Findler
99c030ec35
ignore serialize export
2011-04-26 23:58:09 -05:00
Ryan Culpepper
cd108c6c00
document undocumented exports (unstable)
2011-04-25 21:51:57 -06:00
Robby Findler
e7d0029aea
added lots of new tests that our documentation is complete
2011-04-25 13:24:43 -05:00
Robby Findler
21cbd9ad81
added the racket/contract/combinator library,
...
and documented and adjusted these libraries:
racket/contract/base
racket/contract/exists
racket/contract/parametric (renamed from exists)
racket/contract/region
2011-04-25 11:51:44 -05:00
Robby Findler
ec50a8c5a2
additional fixes to the docs and racket/contract's exports to make them match up
2011-04-15 12:44:44 -05:00
Matthew Flatt
7fb5e36db1
try to fix problems from recent contract changes
2011-04-14 15:37:58 -06: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
7828a7bfa7
moved unstable/{location,srcloc} to syntax collection
...
fixed bugs in unstable/wrapc
2011-04-08 08:25:22 -06:00
Ryan Culpepper
f49412add8
moved unstable/poly-c to racket/contract/parametric
2011-04-08 08:25:22 -06:00
Ryan Culpepper
937c5ea442
removed unused unstable libs (planet, planet-syntax, scribble)
2011-04-08 08:25:22 -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
Carl Eastlund
325516556a
Updated define-syntax-block to subsume define-syntax-set,
...
and referred to define-syntax-set in the documentation.
2011-03-18 16:54:52 -04:00
Carl Eastlund
d903298264
Added and documented 'define-syntax-block' in unstable/define,
...
a convenience macro for defining macros that rely on phase 1
definitions of macros or mutually recursive functions.
2011-03-18 13:38:21 -04:00
David Van Horn
c9519fd113
Fixed various spelling errors.
2011-02-03 17:42:33 -05:00
Carl Eastlund
debad064e7
Moved most of the planet-related bindings from unstable/scribble and
...
unstable/planet to planet/scribble and planet/util. Did not move
define-planet-package; it is not as crucial as the "this-package" macros.
2011-01-11 18:00:39 -05:00
Matthew Flatt
dcbf6c5590
clean up library dependencies in "unstable" collection
2010-12-29 07:49:02 -07:00
Matthew Flatt
c916e99af5
reduce some memory use of `unstable' doc build
...
by explicitly closing evaluators
2010-12-28 20:55:32 -07: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
Jay McCarthy
7ebdd3c7f1
Remove write-xexpr altogether, since compatibility is not promised in unstable
2010-12-07 14:14:53 -07:00
Jay McCarthy
2abbb664dd
Fixing docs
2010-12-07 14:14:53 -07:00
Jay McCarthy
83fcd6a8a2
Better implementation provided by XML now
2010-12-07 14:14:52 -07:00
Blake Johnson
3ddda200e8
changed eprintfs to log-debug
2010-10-29 19:50:11 -06:00
Blake Johnson
4676662e4b
moved demodularizer from github to collects and added it to raco
2010-10-29 19:50:10 -06:00
Ryan Culpepper
76f55ad753
docs for unstable/prop-contract
2010-09-13 14:39:05 -06:00
Ryan Culpepper
927fae2937
comments on unstable/set
2010-09-13 13:21:02 -06:00
Ryan Culpepper
af4a545dc3
added unstable/prop-contract (needs docs)
2010-09-13 13:21:02 -06:00
Ryan Culpepper
a3d1ff4e6c
added contracts (->i) to racket/dict
2010-09-13 13:21:02 -06:00
Carl Eastlund
33e6a96589
Added myself as author to documentation of unstable/gui/slideshow.
2010-09-10 16:13:31 -04:00
Carl Eastlund
e8e58b5a09
Fixed bug in my unstable slideshow library.
2010-09-10 15:22:04 -04:00
Robby Findler
d419e8c12a
changed the ->d contracts to ->i contracts
2010-09-09 14:21:35 -05:00
Ryan Culpepper
47f8e55b14
fixed typo (forgot to remove old provide)
2010-09-06 22:58:41 -06:00
Ryan Culpepper
ef778baeb0
comments on unstable libraries
2010-09-06 22:15:30 -06:00
Ryan Culpepper
0bdb302409
fixed example for unstable/wrapc
2010-09-06 22:15:30 -06:00
Ryan Culpepper
fff692309e
removed useless requires
2010-09-03 13:53:42 -06:00
Ryan Culpepper
d7a87c79e0
Merged changes to syntax/parse
...
Changed backtracking algorithm, runtime representations
- syntax classes, ~describe no longer implicitly commit
- ~describe no longer delimits effect of cut
Added keyword & optional args for stxclasses
Added ~do and #:do, ~post, ~commit and #:commit,
~delimit-cut and #:no-delimit-cut
Added syntax/parse/debug, syntax/parse/experimental/*
- expr/c for contracting macro sub-expressions
moved from syntax/parse to syntax/parse/experimental/contract
- syntax class reflection (~reflect, ~splicing-reflect)
- eh-alternative-sets (~eh-var)
- provide-syntax-class/contract
(only for params, not attrs so far)
Changed ~fail to not include POST progress (#:fail still does)
old (~fail _) is now (~post (~fail _))
Made msg argument of ~fail optional
Removed generic "repetition constraint violated" msg
Removed atom-in-list stxclass
Removed unnecessary datum->syntax on cdr of pair pattern
massive improvements to long-list microbenchmarks
Optimization: integrable syntax classes (id, expr, keyword)
need better measurements
Optimization: ad hoc elimination of head/tail choice point
for (EH ... . ()) patterns
Added unstable/wrapc (proc version of expr/c)
2010-08-31 10:55:58 -06:00
Eli Barzilay
9227bfaf4c
Comments on unsatbel code.
2010-08-27 13:21:01 -04: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
Eli Barzilay
8e0f8dd39c
More "~n" -> "\n" changes
2010-08-26 12:11:00 -04:00
Eli Barzilay
606b7f60dc
Lots of "~e" to "~.s" changes.
2010-08-25 17:17:01 -04:00
Vincent St-Amour
550e07f78f
Added labeled lines and arrows to unstable from Scott Owens.
2010-08-13 18:48:33 -04:00
Vincent St-Amour
17e6f8a997
Added shapes with borders.
2010-08-13 18:48:33 -04:00
Vincent St-Amour
3d071b479e
Added a missing require.
2010-08-13 18:48:32 -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
Jay McCarthy
db87add6b7
Adding hash-domain and hash-range to racket/base
2010-08-11 16:37:46 -06:00
Jay McCarthy
53ff7a1092
Continuing 11072
2010-08-02 10:05:17 -06:00
Vincent St-Amour
a46faaea40
Added format-unique-id to unstable/syntax.
2010-07-07 19:42:55 -04:00
Sam Tobin-Hochstadt
692a172474
Improve interface for `find-mutated-vars', now supports mutable *and* immutable versions.
2010-07-06 14:09:46 -04: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
Ryan Culpepper
7473cf624e
unstable: added comments
2010-07-01 17:05:06 -06:00
Ryan Culpepper
8c42006ad7
unstable/syntax: renamed syntax-local-values/{catch -> record}, changed uses
...
also added comments to some unstable/syntax functions
2010-07-01 17:05:05 -06:00
Matthew Flatt
47eb8ea815
add `identifier-prune-to-source-module' and use it in contract implementation
...
reduces DrRacket's initial footprint by 20-25% --- back to the v5.0 level
2010-06-30 10:40:03 -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
Eli Barzilay
8a5bceece1
Various comments on problematic aspects of the code.
2010-06-23 16:13:53 -04:00
Vincent St-Amour
ef1da61fd0
Added S-Expression diff to unstable.
2010-06-22 18:42:28 -04:00
Sam Tobin-Hochstadt
2285e1a340
Make `debug' catch *all* exceptions
2010-06-21 18:30:27 -04:00
Sam Tobin-Hochstadt
0379e534e3
New interface for unstable/mutated-vars
...
- functional hash tables
- fix clients
2010-06-10 13:28:29 -04:00
Sam Tobin-Hochstadt
679967b491
PLT Scheme -> Racket
2010-06-08 13:08:13 -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
Carl Eastlund
5faced0c23
Moved unstable/cce/set to unstable/set.
2010-06-06 20:31:35 -04:00
Carl Eastlund
f5b58403ba
Moved unstable/cce/scribble to unstable/scribble.
2010-06-06 20:31:35 -04:00
Carl Eastlund
5877732abf
Moved unstable/cce/slideshow to unstable/gui/slideshow.
2010-06-06 20:31:34 -04:00
Carl Eastlund
c749b3ece5
Moved unstable/cce/planet to unstable/planet.
2010-06-06 20:31:34 -04:00
Carl Eastlund
f6a190d3f3
Moved unstable/cce/require-provide to unstable/require.
2010-06-06 20:31:33 -04:00
Carl Eastlund
7131198974
Moved unstable/cce/define to unstable/define.
2010-06-06 20:31:33 -04:00
Carl Eastlund
ce85a96978
Moved the contents of unstable/cce/syntax to multiple other modules:
...
unstable/syntax, unstable/contract, and unstable/planet-syntax.
2010-06-06 20:31:32 -04:00
Carl Eastlund
904f80cd44
Moved unstable/cce/drscheme to unstable/gui/language-level.
2010-06-06 20:31:32 -04:00
Carl Eastlund
fb53d5d191
Moved unstable/cce/dict to unstable/dict.
2010-06-06 20:31:31 -04:00
Carl Eastlund
86a3c3ed18
Moved unstable/cce/class to unstable/class.
2010-06-06 20:31:31 -04:00
Carl Eastlund
584fac8419
Moved unstable/cce/gui to unstable/gui/window.
2010-06-06 20:31:30 -04:00
Carl Eastlund
1360d02728
Added unstable/cce/exn to unstable/exn.
2010-06-06 20:31:30 -04:00
Carl Eastlund
402232237c
Moved unstable/cce/port to unstable/port.
2010-06-06 20:31:21 -04:00
Carl Eastlund
4166a0cfe7
Moved unstable/cce/sandbox to unstable/sandbox.
2010-06-06 20:30:49 -04:00
Carl Eastlund
2db3a9d38a
Moved unstable/cce/regexp to unstable/regexp.
2010-06-06 20:30:48 -04:00
Carl Eastlund
3a525b9a12
Replaced unstable/hash with unstable/cce/hash.
2010-06-06 20:30:48 -04:00
Carl Eastlund
286319d723
Added unstable/cce/contract contents to unstable/contract.
2010-06-06 20:30:47 -04:00
Carl Eastlund
70858e93e5
Moved unstable/cce/queue to unstable/queue.
2010-06-06 20:30:40 -04:00
Carl Eastlund
1d0c069a6c
Moved unstable/cce/web to unstable/web.
2010-06-06 20:29:59 -04:00
Carl Eastlund
14b2daab66
Moved unstable/cce/values to unstable/values.
2010-06-06 20:29:56 -04:00
Carl Eastlund
a22a1a4c15
Added unstable/cce/match macros to unstable/match.
2010-06-06 20:29:55 -04:00
Carl Eastlund
6bcf77fe65
Moved unstable/cce/text to unstable/text.
2010-06-06 20:29:54 -04:00
Carl Eastlund
8d10a6343b
Adapted unstable/cce/function to unstable/function.
2010-06-06 20:29:54 -04:00
Carl Eastlund
6f39c3fca1
Adding contents of (planet cce/scheme:7) to collects/unstable/cce.
...
This is a staging area; these modules will be adapted to collects/unstable.
2010-06-06 20:29:53 -04:00
Carl Eastlund
4b728da51c
Added unstable/pretty with pretty-format/print, /write, and /display.
2010-06-06 20:29:38 -04:00
Carl Eastlund
e52fb81aac
Renamed bindings from unstable/hash and unstable/debug that will clash
...
with subsequent adaptation of (planet cce/scheme) to collects/unstable.
These bindings are temporary, and will be replaced in the adaptation.
2010-06-06 19:57:15 -04:00
Carl Eastlund
c1906fd3d3
Un-clutter TOC for unstable docs.
2010-06-06 19:55:45 -04:00
dvanhorn
c9d0bd10a1
Added remf to unstable/list.
...
Signed-off-by: Jay McCarthy <jay@racket-lang.org>
2010-05-26 10:08:29 -06:00
Jay McCarthy
758b944996
Contract was too strict
2010-05-24 13:14:35 -06:00
Jay McCarthy
f44e3123b5
Adding byte counting ports
2010-05-24 13:14:35 -06:00
Sam Tobin-Hochstadt
5faab8b578
Add `debugm' to unstable/debug
...
- `debugm' does not parse or print the arguments to the form,
so it works for macros, not just function application
2010-05-21 10:41:24 -04:00
Sam Tobin-Hochstadt
bc7bd9245e
`debug' prints the value of the function being called
2010-05-12 17:04:18 -04:00
Jay McCarthy
e40f89fed2
Adding mark params
2010-04-30 13:06:55 -06:00
Jay McCarthy
7d1c7d874b
Changing unstable, xml, html, and web-server to be rackety
2010-04-28 13:21:30 -06:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Matthew Flatt
a6694a08b7
fix make-base-namespace in scheme/base (PR 10870)
2010-04-26 06:47:02 -06:00
Sam Tobin-Hochstadt
49a42fd089
fix to handle multiple value return
2010-04-22 10:50:29 -04:00
Matthew Flatt
c95a398754
move most of the 'scheme' collection to the 'racket' collection
2010-04-20 15:24:48 -06:00
Jay McCarthy
918f2caf34
Adding generics
2010-04-15 16:33:31 -04:00
Carl Eastlund
d03aed44fd
* unstable/srcloc.ss
...
Added `update-source-location', which provides keyword-based functional update
for source location representations.
Removed automatic collection-relative printing for source locations.
* unstable/location.ss
Made `quote-srcloc' and its related forms all automatically use source locations
relative to collections and/or planet, where appropriate, and to compute
source locations dynamically if they cannot be made relative.
Removed #:module-source argument from `quote-srcloc'.
Changed `quote-module-path' and `quote-module-name' to use source file name
extensions.
Removed `quote-module-source'. I'm not sure what the use case is for
generating a resolved module path that doesn't correspond to a real module.
* unstable/dirs.ss
Implemented `path->directory-relative-string' for rendering a path to a string
that is relative to one of a list of given directories, with associated
abbreviations for each.
* unstable/scribblings/unstable.scrbl
* unstable/scribblings/srcloc.scrbl
* unstable/scribblings/dirs.scrbl
Documented the above changes.
* scheme/contract/private/provide.ss
* scheme/contract/private/base.ss
Changed contract forms to always blame a module path where appropriate.
Removed use of #:module-source option for `quote-srcloc'.
* setup/private/path-utils.ss
Updated `path->name' to use more general `path->directory-relative-string'.
svn: r18816
2010-04-14 17:49:29 +00:00
Sam Tobin-Hochstadt
376f307a01
Bug fix for `sequence-lift'.
...
Doc fixes.
Improve `make' error message.
svn: r18812
2010-04-13 20:59:32 +00:00
Matthew Flatt
536fcacc42
more module source versus module path adjustments, especially for contracts
...
svn: r18809
2010-04-13 17:12:51 +00:00
Matthew Flatt
ce2d286586
add current-module-declare-source, variable-reference->module-source, convert soe sues of module paths to module sources
...
svn: r18804
2010-04-13 02:48:40 +00:00
Carl Eastlund
1d6111c532
Renamed simple-contract and simple-flat-contract to make-contract and make-flat-contract.
...
svn: r18259
2010-02-22 02:51:16 +00:00
Sam Tobin-Hochstadt
d9fabc314b
add map/values from carl, and `debug' prints exceptions
...
svn: r18197
2010-02-19 23:25:14 +00:00
Jay McCarthy
8f7e5b3803
Making the atomic renaming truly atomic with an option to rename I didn't realize existed. :'(
...
svn: r18134
2010-02-17 22:04:57 +00:00
Jay McCarthy
8e0addc8c7
Adding more race condition protection to the compiler for DrDr and parallel setup-plt
...
svn: r18103
2010-02-16 20:17:15 +00:00
Carl Eastlund
1b28ea1a6c
Added automatic blame-tracking to poly/c contract in unstable (and updated use in Typed Scheme).
...
svn: r18075
2010-02-12 23:03:11 +00:00
Carl Eastlund
86f0d92c26
Updated documentation for unstable/srcloc; added it for unstable/location.
...
svn: r18010
2010-02-06 22:44:07 +00:00
Carl Eastlund
6d8b3a2e84
Added customization for unknown srclocs to source-location->prefix/string
...
svn: r17747
2010-01-19 09:24:15 +00:00
Carl Eastlund
d57b5fff61
Made source-location->string shorten collection paths.
...
svn: r17728
2010-01-19 03:38:14 +00:00
Carl Eastlund
2bad47fd0f
Ported more code to use new contract bindings.
...
svn: r17727
2010-01-19 01:01:28 +00:00
Carl Eastlund
a03454ec69
Replaced make-proj-contract in poly/c
...
svn: r17726
2010-01-19 00:21:43 +00:00
Carl Eastlund
f346bc7f1a
Added a module for statically computing source locations and module paths.
...
svn: r17722
2010-01-18 23:10:10 +00:00
Carl Eastlund
19873777e1
Set srcloc processing to use syntax-source-module if possible.
...
svn: r17706
2010-01-17 18:50:11 +00:00