This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix option example

  • Loading branch information...
1 parent 45988de commit c20393ea4783025839206664357e6ef88d27de26 @puffnfresh committed May 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/option.roy
View
@@ -6,7 +6,7 @@ let optionMonad = {
Some x
bind: \x f -> match x
case (Some a) = f a
- case None = None
+ case None = None ()
}
console.log (do optionMonad

0 comments on commit c20393e

Please sign in to comment.