doc typo (PR 9634)

svn: r10915
This commit is contained in:
Matthew Flatt 2008-07-26 00:09:13 +00:00
parent 80c7d04582
commit bbf9376115

View File

@ -273,7 +273,7 @@ pattern (as opposed to being a pattern variable.
@schemeblock[
(define-syntax clock
(syntax-id-rules (set!)
[(set! cock e) (put-clock! e)]
[(set! clock e) (put-clock! e)]
[(clock a ...) ((get-clock) a ...)]
[clock (get-clock)]))
]
@ -304,7 +304,7 @@ Naturally, we can implement @scheme[define-get/put-id] as a macro:
(define-syntax-rule (define-get/put-id id get put!)
(define-syntax clock
(syntax-id-rules (set!)
[(set! cock e) (put-clock! e)]
[(set! clock e) (put-clock! e)]
[(clock a (... ...)) ((get-clock) a (... ...))]
[clock (get-clock)])))
]