From fbb6ae98b9c693da30dcb13cb0dfc7078ea35927 Mon Sep 17 00:00:00 2001 From: Phil Nguyen Date: Wed, 19 Nov 2014 16:53:30 -0500 Subject: [PATCH] fix tiny typo in `arith.rkt` in racket guide --- pkgs/racket-pkgs/racket-doc/scribblings/guide/arith.rkt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/racket-pkgs/racket-doc/scribblings/guide/arith.rkt b/pkgs/racket-pkgs/racket-doc/scribblings/guide/arith.rkt index 969ff30522..f4bded6512 100644 --- a/pkgs/racket-pkgs/racket-doc/scribblings/guide/arith.rkt +++ b/pkgs/racket-pkgs/racket-doc/scribblings/guide/arith.rkt @@ -40,9 +40,9 @@ (define op (to-syntax (string->symbol op-str) (+ delta a-len) op-str)) (to-syntax (list op a b) delta s)] - [else (to-syntax (or (string->number s) - (string->symbol s)) - delta s)])) + [_ (to-syntax (or (string->number s) + (string->symbol s)) + delta s)])) (unless expr-match (raise-read-error "bad arithmetic syntax"