Fix argument order in guide.
Closes PR15131.
This commit is contained in:
parent
e9e7e42b64
commit
d66da8ff3b
|
@ -34,7 +34,7 @@ modular reasoning about programs. For example, in the module,
|
||||||
(provide rx:fish fishy-string?)
|
(provide rx:fish fishy-string?)
|
||||||
(define rx:fish #rx"fish")
|
(define rx:fish #rx"fish")
|
||||||
(define (fishy-string? s)
|
(define (fishy-string? s)
|
||||||
(regexp-match? s rx:fish)))
|
(regexp-match? rx:fish s)))
|
||||||
]
|
]
|
||||||
|
|
||||||
the function @racket[fishy-string?] will always match strings that
|
the function @racket[fishy-string?] will always match strings that
|
||||||
|
|
Loading…
Reference in New Issue
Block a user