Permalink
Browse files

changed 'choice' to 'either' in the either example code

  • Loading branch information...
pieterbreed committed Oct 19, 2012
1 parent ab5ab4b commit 3fb442f2c2862ca83432b606caf0d6b2995c0445
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/guide.markdown
View
@@ -299,7 +299,7 @@ returned.
(def number (many1 (digit)))
(def word (many1 (letter)))
- (def number-or-word (choice number word))
+ (def number-or-word (either number word))
(run number-or-word "dog")
; (\d \o \g)

0 comments on commit 3fb442f

Please sign in to comment.