diff --git a/doc/ref/api-macros.texi b/doc/ref/api-macros.texi index 7fdf578c7..f13ac0136 100644 --- a/doc/ref/api-macros.texi +++ b/doc/ref/api-macros.texi @@ -229,10 +229,10 @@ Literals are used to match specific datums in an expression, like the use of ((cond1 test => fun) (let ((exp test)) (if exp (fun exp) #f))) - ((cond1 test exp exp* ...) - (if test (begin exp exp* ...))) ((cond1 else exp exp* ...) - (begin exp exp* ...)))) + (begin exp exp* ...)) + ((cond1 test exp exp* ...) + (if test (begin exp exp* ...))))) (define (square x) (* x x)) (cond1 10 => square)