Commit Graph

31008 Commits

Author SHA1 Message Date
Eli Barzilay
0397518539 Fix inclusion of "keep-dirs.rktd".
The file should be considered as source even though it's in the "doc"
directory.
2013-05-09 11:11:07 -04:00
Eli Barzilay
c228b13f9f Make the stop value for `in-producer' optional.
There are many cases where you just want to use some other tool like
`#:break' to stop the iteration, so no need to make up a bogus stop
value and no need to spend time checking it.
2013-05-09 11:11:06 -04:00
Eli Barzilay
2d63564a6d Temporary hack: avoid permutations' clash until its renamed in math'.
(Should undo this when the rename is done.)
2013-05-09 11:11:06 -04:00
Eli Barzilay
c34129928e Add permutations' and in-permutations'. 2013-05-09 10:20:36 -04:00
Eli Barzilay
34fe42d0dd Some style cleanups.
Mainly reogranize the code + exports + docs of the additional list
convenience functions.

Also, add a custom printer to a "running" struct in
`racket/private/promise', so there's a sensible output if the value
happens to leak outside of a promise (eg, when debugging).
2013-05-09 10:20:36 -04:00
Eli Barzilay
aa933891c5 New Racket version 5.3.4.10. 2013-05-09 03:35:18 -04:00
Eric Dobson
2a94ca9030 Cleanup tc-lambda-unit. 2013-05-08 22:59:40 -07:00
Jay McCarthy
f90710156e Forgot to commit example 2013-05-08 16:48:13 -06:00
Robby Findler
0c96d2ca95 tighten up the contract for get-display-size and get-display-left-top-inset 2013-05-08 15:15:32 -05:00
Robby Findler
b9f8d699d3 add missing guard
related to PR 13741
2013-05-08 15:15:32 -05:00
Sam Tobin-Hochstadt
a6f110893f Refactor subtype.rkt not to use exceptions.
Matthew suggests that using exceptions for failure
in the implementation of `subtype` is a performance
problem.  This commit removes all use of exceptions
for failure in subtype.rkt, replacing it with the
standard Racket #f/value option.

Extensive use is made of the `subtype-seq` form,
which is basically do-notation for the subtyping
monad.
2013-05-08 15:25:02 -04:00
Sam Tobin-Hochstadt
da3f8f8ec0 Add contract for seen parameter. 2013-05-08 15:25:02 -04:00
Sam Tobin-Hochstadt
a07cdf39ff Remove contract on unit-exported definition. 2013-05-08 15:25:02 -04:00
Ryan Culpepper
70c06e1e80 fix estimate of order of magnitude for ~r 2013-05-08 12:52:53 -04:00
Ryan Culpepper
aaa9927cbb some random testing for (~r #:notation 'exponential ....) 2013-05-08 12:52:53 -04:00
Ryan Culpepper
2f403859a0 fixed (~r 0 #:notation 'exponential ....) bugs 2013-05-08 12:52:53 -04:00
Jay McCarthy
73232afd99 Adding customization of command-char to web-server/template
This entails adding it to include/text and read-syntax-inside as well.
2013-05-08 10:52:40 -06:00
Matthew Flatt
b3e2d35be9 fix `raco exe' test 2013-05-08 12:31:34 -04:00
Matthew Flatt
eb46eacad9 raco exe: enable on-demand parsing of embedded bytecode
Creating a stand-alone executable could slow down a program,
because bytecode embedded in an executable was not treated
in the same way as bytecode loaded from files. The difference
was in on-demand parsing of bytecode --- and now it's enabled
for embedded bytecode, too.
2013-05-08 12:31:34 -04:00
Eli Barzilay
e85b9d523f v5.3.4 installers info 2013-05-08 12:19:18 -04:00
Matthew Flatt
d5de35af3c fix place-channel test 2013-05-08 11:29:50 -04:00
Matthew Flatt
d44f817865 raco setup: fix subcollection traversal
Closes PR 13740
2013-05-08 11:28:04 -04:00
Matthew Flatt
7946c73c42 avoid a constant folding that can use too much memory
Closes PR 13738
2013-05-08 10:24:16 -04:00
Matthew Flatt
3042258148 raco pkg: "indices" -> "catalogs" in dependency message 2013-05-08 09:54:30 -04:00
Matthew Flatt
9361b1e709 render non-installaction-scoped package docs with an indirection
The indirection uses a "local-redirect.js" script to rewrite
the document links to local links within the browser. This mechanism
is a step towards distributing compiled packages that include
already-built documentation, where paths to other documentation
can be different than in the build environment.

If the links are not rewritten, they are queries to
"pkg-docs.racket-lang.org", with the idea tha such a server will exist
for reading all package documentation online. Also, a package's
documentation that refer to documentation for uninstalled packages,
in which case the corresponding links will not get rewritten and
will continue to point to the server.

Rendering the "local-redirect.js" script spends a lot of time just
converting among different path formats. Various library changes in
this commit are aimed at speed up those conversions, but the big
improvement came from a `path->url-string' that shortcuts conversion
os simple Unix paths.
2013-05-08 09:54:30 -04:00
Matthew Flatt
53efe920b3 Move explode-path' from racket/path' to `racket/base'
The revised `explode-path' runs in time proportional to the
length of the path, instead of quadratic in the number of
path elements. The difference doesn't matter much in my
program, but I'm reluctant to leaving the implementation
as quadratic (which is forced by using `split-path').
2013-05-08 09:54:30 -04:00
Matthew Flatt
2310eb367f remove dead code
The removed line was added due to a misreading of a failure
path as a slow path.

Thanks to Jon Zeppieri.
2013-05-08 09:54:29 -04:00
Robby Findler
5290b4c4b3 share submodules of racket/base and scheme/base
for user code
2013-05-08 07:25:03 -05:00
Eli Barzilay
36e40ed340 New Racket version 5.3.4.9. 2013-05-08 03:30:15 -04:00
Jay McCarthy
f87ad69fd1 Fix cookie test re version 2013-05-07 20:13:43 -06:00
Jay McCarthy
61feb21c42 A kindler, gentler death re: Robby 2013-05-07 20:13:43 -06:00
Asumu Takikawa
eaf9521336 Add a few examples to syntax transformer section 2013-05-07 21:39:11 -04:00
Matthew Flatt
2841e873e1 raco pkg: fix conflict checking for a collection splice
Package updating also seems to have been broken by roughly
the same code (so maybe I ran the test suite incorrectly
before?).

Closes PR 13736
2013-05-07 17:30:42 -04:00
Vincent St-Amour
89f9b860cd Fix type of tanh.
Found using random testing.
2013-05-07 17:06:35 -04:00
Burke Fetscher
172ea13552 redex: fix and clean up metafunction expansion
- defer disequation expansion so that generated code
  is linear w/r/t to the number of clauses
- fix variable renaming for disequations
2013-05-07 15:20:37 -05:00
Matthew Flatt
7339074741 racket/place: keywords as place messages 2013-05-07 14:48:21 -04:00
Matthew Flatt
0b1c0ba13b racket/{require,provide}-syntax: add `syntax-local-{require,provide}-introduce' 2013-05-07 14:48:21 -04:00
Eric Dobson
8db95d007a Move tc/send to new file because it doesn't belong in tc-expr-unit. 2013-05-07 09:32:04 -07:00
Eric Dobson
adbc516edf Move tc-literal to seperate file, as it doesn't belong in tc-expr. 2013-05-07 09:32:04 -07:00
Matthew Flatt
1404970242 stepper: ignore submodules
This change keeps the stepper working with the `lazy' language, which
uses the `#%module-begin' from `racket', which in turn now adds a
`configure-runtime' submodule.
2013-05-07 12:00:13 -04:00
Matthew Flatt
376dd5f4aa add `racket/rerequire'
The `dynamic-rerequire' function is the reloading support of
`enter!', but in function form and without namespace-switching.
2013-05-07 12:00:13 -04:00
Matthew Flatt
4ac6a6b3e3 scribble: fix `--redirect{-main}' and non-HTML mode 2013-05-07 12:00:13 -04:00
Matthew Flatt
b11d37ddb3 fix error message for applying a non-procedure with keywords 2013-05-07 12:00:13 -04:00
Asumu Takikawa
d16d5f14f3 Add examples for syntax/stx 2013-05-07 11:47:21 -04:00
Asumu Takikawa
1c9fe6a83a Remove commented code and random line breaks 2013-05-07 11:05:29 -04:00
Asumu Takikawa
37d44ebb38 Style guideline compliance 2013-05-07 11:05:29 -04:00
Asumu Takikawa
541966daaa Remove unnecessary prefab struct declaration 2013-05-07 11:05:28 -04:00
Asumu Takikawa
bb2ecbf8cb Add comments, purpose statements, and contracts 2013-05-07 11:05:28 -04:00
Juan Francisco Cantero Hurtado
2ba4a9891a Add urls with the info about deps to README. 2013-05-07 10:48:53 -04:00
Richard Hopkins
af1bf7188e Correct typos in src/README 2013-05-07 10:44:14 -04:00