Sam Tobin-Hochstadt
40d2fd65b0
Add OrderedAnd patterns, and use them in ?
patterns.
...
This guarantees that patterns like (? pred pat) will
always check `pred` before matching any of `pat`.
However, `and` patterns are not required to match left-
to-right.
2013-01-22 14:59:41 -05:00
Matthew Flatt
c298062259
racket/match: add doc note on `for-syntax' exports
2013-01-22 09:12:00 +01:00
Asumu Takikawa
df594d3b3b
Move define/match
to racket/match
2012-10-14 14:39:36 -04:00
Matthew Flatt
ef525233a2
references: link "A parameter that..." to the definition of "parameter"
2012-08-22 10:28:56 -06:00
Matthew Flatt
45659b0cc1
fix doc example
...
Closes PR 12768
2012-05-13 06:57:44 -06:00
David Van Horn
f029117266
Fixes spelling errors in reference.
2012-02-21 14:21:43 -05:00
Sam Tobin-Hochstadt
591dcc4a27
Add prop:match-expander' and
prop:legacy-match-expander'.
2011-11-14 11:03:22 -05:00
Sam Tobin-Hochstadt
81dd112f57
Move ==' to
racket/match'.
2011-11-14 11:03:22 -05:00
Danny Yoo
899bc0616b
Adding an example for `define-match-expander'.
2011-11-04 11:16:35 -04:00
Sam Tobin-Hochstadt
9cc2c441ee
Add note on `match' semantics.
2011-10-06 18:32:05 -04:00
James Ian Johnson
3f23a67d57
Fixed the duplicate identifier bug in match-define-values and changed identifiers to conform to naming conventions.
2011-08-31 22:27:02 -04:00
James Ian Johnson
dc61372f3c
Implemented Sam's suggested changes for new forms, and added a new match/values form.
2011-08-31 21:45:21 -04:00
James Ian Johnson
93e1b634a3
Added let and define forms that generalize let-values, let*-values and define-values
2011-08-31 21:45:21 -04:00
Eli Barzilay
d61eb53686
Lots of documentation formatting.
...
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Matthew Flatt
1160d3df62
remove syntax certificates; add syntax taints
2011-06-29 19:15:48 -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
d5b25eb500
Document match-lambda**' and
match[*]/derived'
2011-06-15 18:11:41 -04:00
Matthew Flatt
17a1322fe5
match': document
var' pattern
2011-03-15 12:25:53 -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
Matthew Flatt
99df8e1267
allow internal definitions in when',
unless', cond,
case', `match'
2010-10-12 06:41:49 -06:00
Sam Tobin-Hochstadt
02d9418f9a
document match*
2010-08-10 15:56:15 -05:00
Matthew Flatt
737b6fac01
rackety reference; any lingering reference to racket as scheme is a doc bug
2010-04-27 08:20:16 -06:00
Matthew Flatt
c7e723eef7
somewhat rackety core docs
2010-04-22 15:10:25 -06:00
Sam Tobin-Hochstadt
0ae5843f11
Add unstable/match with == match expander.
...
Add 'match expander' tech def.
svn: r16814
2009-11-16 16:58:11 +00:00
Jay McCarthy
3141c3736f
Adding struct* to scheme/match
...
svn: r15255
2009-06-24 19:36:26 +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
Sam Tobin-Hochstadt
0182868947
Fix docs on exception raised.
...
svn: r14043
2009-03-10 23:56:07 +00:00
Matthew Flatt
5b395a3abc
new guide section on parameterize and other doc tweaks
...
svn: r12953
2008-12-30 16:21:11 +00:00
Eli Barzilay
ae66a076fd
typo (PR9880)
...
svn: r12194
2008-10-31 14:13:01 +00:00
Matthew Flatt
7ae0f500ae
add and use close-eval to reduce memory use when rendering reference and guide
...
svn: r9981
2008-05-27 17:20:24 +00:00
Matthew Flatt
01baad11a0
hack evcase to support old and new 'else' bindings
...
svn: r9481
2008-04-25 21:36:37 +00:00
Eli Barzilay
1b552354a6
Use @(interaction-eval ...) instead of @interaction-eval[...].
...
svn: r9429
2008-04-23 16:47:17 +00:00
Sam Tobin-Hochstadt
aa40a654b0
Update match documentation to new implementation:
...
- Mention cons and mcons pattern.
- Describe greedyness.
- Mention additional literals in grammar.
svn: r9095
2008-03-27 17:35:11 +00:00
Eli Barzilay
264af9a6d0
improved scribble syntax use
...
svn: r8720
2008-02-19 12:22:45 +00:00
Matthew Flatt
1959c56743
doc and test repairs
...
svn: r8597
2008-02-09 13:01:39 +00:00
Matthew Flatt
15304f5870
more mzlib scribbling
...
svn: r8552
2008-02-06 04:10:54 +00:00
Matthew Flatt
8efa991f4f
match: specify failure, and add byte strings as patterns
...
svn: r8540
2008-02-05 16:59:54 +00:00
Matthew Flatt
f3cb86dc1a
sandbox Scribble evaluations; fix rational exact->inexact loss of precision
...
svn: r8238
2008-01-06 16:54:34 +00:00
Matthew Flatt
cd7157641c
Scribble improvements: defmodule & co.
...
svn: r7902
2007-12-05 21:41:07 +00:00
Matthew Flatt
44478fa8e0
match docs
...
svn: r7817
2007-11-22 18:51:26 +00:00
Matthew Flatt
04fb4eacec
,
...
svn: r7793
2007-11-21 01:38:58 +00:00