mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 16:27:35 +02:00
Remove old chars
This commit is contained in:
parent
e2772e36d7
commit
f91c6f068f
1 changed files with 3 additions and 3 deletions
|
@ -135,9 +135,9 @@ the pattern syntax. The usage is `(= field pat)`, where
|
||||||
procedure of one argument, which is applied to the value to match
|
procedure of one argument, which is applied to the value to match
|
||||||
to generate a new value to match against `pat`.
|
to generate a new value to match against `pat`.
|
||||||
|
|
||||||
;;> Thus the pattern `(and (= car x) (= cdr y))` is equivalent
|
Thus the pattern `(and (= car x) (= cdr y))` is equivalent
|
||||||
;;> to `(x . y)`, except it will result in an immediate error
|
to `(x . y)`, except it will result in an immediate error
|
||||||
;;> if the value isn't a pair.
|
if the value isn't a pair.
|
||||||
|
|
||||||
(match '(1 . 2) ((= car x) x))
|
(match '(1 . 2) ((= car x) x))
|
||||||
(match 4 ((= square x) x))
|
(match 4 ((= square x) x))
|
||||||
|
|
Loading…
Add table
Reference in a new issue