Eli Barzilay
d88eef6bfb
Some "@racket" fixes.
...
Two reported by Lee Duhem, and two more in other files.
Fixes PR 13092.
2012-09-08 15:17:04 -04:00
Eli Barzilay
6565538b09
Disable the #:before-first' and
#:after-last' functionality in `add-between'.
...
Leave it working in splicing mode. I prefer doing that over always
splicing them, since that would make a less uniform interface, so I
rather keep all options open. There is no longer a `#:nothing' keyword,
which is the main point of this downgrade.
(See mailing list discussion on "no-argument" for the reason.)
2012-07-18 22:28:41 -04:00
Matthew Flatt
a6e263741a
racket/list: adjust `add-between' keyword handling
...
Add a `#:nothing' argument so the no-value value can be
made explicit --- based on discussion with Eli, but pending
further review.
Also, renamed `#:first' to `#:before-first' and `#:last' to
`#:after-last' to be more clear, more parallel ro `#:before-last',
and avoid a collision with prominent function names.
2012-06-26 11:00:11 -06:00
Eli Barzilay
728687d9dc
Extend `add-between'.
...
New keywords: `#:first', `#:before-last', `#:last', and `#:splice?'.
2012-06-23 04:44:20 -04:00
Matthew Flatt
84d1c6dc06
remove sfi links from the Reference
...
In consultation with Ryan. We'd prefer to have versions of all
useful things in a `racket/...' library that is consistent as
possible with Racket forms and conventions.
2012-05-13 06:57:44 -06:00
Eli Barzilay
7738f21a5b
Move the srfi references to the section ends.
2012-05-09 04:11:17 -04:00
Ryan Culpepper
6c6fa36c8c
add srfi links
2012-05-07 14:46:13 -06:00
Eli Barzilay
ed2b579e3c
Fail early on a non-pair input to `list-ref'.
...
There's no index that works with non-pairs, and the generic error
message in such cases is confusing.
Closes PR12740.
2012-05-03 10:24:05 -04:00
Vincent St-Amour
249c1cc666
Remove dependency on unstable/port.
2012-02-28 16:26:21 -05:00
Vincent St-Amour
f420edc5ee
Add range to racket/list.
2012-02-27 13:40:31 -05:00
Matthew Flatt
d4f7020cd2
add cross-reference between data and read/print descriptions
...
Closes PR 11096
2011-10-15 07:20:33 -07:00
Matthew Flatt
85790b6611
improve description of andmap' and
ormap'
...
Based on suggestions from Dan Grossman and Ryan Culpepper
2011-08-26 10:03:53 -06:00
Matthew Flatt
65b1a569a0
add `unsafe-list-{ref,set}'
...
Use the new functions in `syntax-case'; the benefit is small, and
it's mostly useful as hint to the optimizer that the operation
can be dropped if the result isn't used
2011-07-08 06:23:29 -06:00
Eli Barzilay
ac26fe7554
A ton of @scheme*' ->
@racket*' and related updates.
...
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
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
Sam Tobin-Hochstadt
e8f07c1dc3
Add more examples for remove',
remq', `remv'.
2011-04-29 13:27:38 -04:00
Matthew Flatt
2f8006aa6b
add an optional argument to `assoc'
...
and implement `assoc', `assq', and `assv' in Racket
2011-04-24 07:55:33 -06:00
Matthew Flatt
0b496d5275
a round of doc corrections from Gwyth
2011-03-10 06:34:33 -06:00
Matthew Flatt
3bb120545f
fix ~300 typos reported by Vladimir Nesterovich (a.k.a. Gwyth)
...
--- but Gwyth's amazingly helpful review of chapters 1-11
pointed out a few problems that are more difficult to fix
and are still pending
2011-01-04 09:53:31 -07:00
John Clements
c7f1211c99
argmin/argmax empty list comment
2011-01-01 08:19:46 -08:00
Matthew Flatt
f6f6facd9e
clarify effective-constant nature of `list?'
...
Closes PR 11525
2010-12-10 13:41:05 -07:00
Eli Barzilay
5c1bd77b9e
Add shuffle' to
racket/list'.
2010-11-12 17:21:11 -05:00
Eli Barzilay
9e302a7106
Rename sequence' library to
stream', move from racket/base' to
racket'.
2010-10-21 19:49:39 -04:00
Eli Barzilay
ee138cf2cb
Some repeated "and and"s and "the the"s, and two more typos.
...
Closes PR 11229.
2010-09-20 15:38:18 -04:00
Jay McCarthy
7e485b8d28
Documenting make-hasheqv and using it
2010-05-27 12:35:30 -06:00
Matthew Flatt
7cb13860ee
reference racket conversions and scribble qq repairs
2010-04-23 17:00:53 -06:00
Matthew Flatt
c7e723eef7
somewhat rackety core docs
2010-04-22 15:10:25 -06:00
Eli Barzilay
853db0ae55
forgot examples
...
svn: r18709
2010-04-01 08:27:15 +00:00
Jon Rafkind
2f6c2377f9
fix remq example
...
svn: r18337
2010-02-25 17:14:58 +00:00
Matthew Flatt
bcadf5ac69
doc improvements: some details on reachability for weak references; module example in insidemz; clarification for 'read-language' related to readtables and #reader
...
svn: r17905
2010-01-31 01:10:56 +00:00
John Clements
1a9e2c8df1
ormap docs didn't say what it returned (earlier fix fluffed, IIUC)
...
svn: r17624
2010-01-13 01:20:48 +00:00
Jay McCarthy
c22810cef1
Fixing two typos found by pdedede
...
svn: r17615
2010-01-12 02:37:22 +00:00
Eli Barzilay
1b5ab0b46a
several typos in the vectors docs (PR10642), also some in list docs
...
svn: r17218
2009-12-06 00:15:21 +00:00
Ryan Culpepper
63469d2f3d
scribblings: fixed misc doc typos
...
syntax/id-table: disabled debugging code
svn: r17215
2009-12-05 22:02:46 +00:00
Jon Rafkind
f0d5ba438c
add more pair/list examples
...
svn: r16797
2009-11-16 04:46:49 +00:00
Jon Rafkind
860a36d499
add examples for all c-r shortcuts
...
svn: r16795
2009-11-16 04:04:58 +00:00
Jon Rafkind
c991ada1e7
add examples for pairs
...
svn: r16794
2009-11-16 02:40:45 +00:00
Eli Barzilay
69e90b7ef3
#:key argument to remove-duplicates
...
svn: r16587
2009-11-06 22:32:53 +00:00
Eli Barzilay
2b7e836243
fix typo in examples
...
svn: r14952
2009-05-23 07:35:39 +00:00
Eli Barzilay
3ca6ac2175
added stupid make-list and stupid const
...
svn: r14693
2009-05-03 16:17:48 +00:00
Matthew Flatt
3f803b2298
another doc fix (missed part of PR 10214)
...
svn: r14586
2009-04-22 18:32:09 +00:00
Matthew Flatt
43fe904fe5
fix typos (incl PRs 10213, 10214)
...
svn: r14585
2009-04-22 18:30:35 +00:00
Eli Barzilay
e6277e92ac
foldl/foldr output type typo
...
svn: r14432
2009-04-06 05:49:57 +00:00
Eli Barzilay
c0a8a01222
Changed @itemize{...} to @itemize[...] (done after comparing the doc
...
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)
svn: r14427
2009-04-05 17:46:20 +00:00
Eli Barzilay
18fd48af97
Added `count'.
...
svn: r14210
2009-03-22 02:53:27 +00:00
Robby Findler
fb821d9041
added argmin and argmax to scheme/list and to the teaching languages
...
svn: r12960
2009-01-01 00:03:31 +00:00
Matthew Flatt
37aae202c5
speed up doc build a little; fix bugs related to getting continuation marks from a thread and using the errortrace profiler
...
svn: r12237
2008-11-04 23:32:44 +00:00
Matthew Flatt
077e5a4666
change reference and some other docs to use #f instead of false/c and or/c insteda of one-of/c
...
svn: r12023
2008-10-13 19:45:37 +00:00
Matthew Flatt
76cf25fc12
document 'mzc --decompile'
...
svn: r11317
2008-08-19 00:50:52 +00:00
Matthew Flatt
21b831f4bf
make-reader-graph doesn't traverse mpairs
...
svn: r11020
2008-08-01 14:03:29 +00:00