Skip to content

Instantly share code, notes, and snippets.

@sullivan-
Created February 22, 2013 21:45
Show Gist options
  • Save sullivan-/5016782 to your computer and use it in GitHub Desktop.
Save sullivan-/5016782 to your computer and use it in GitHub Desktop.
Person.persons foreach { p =>
assert(Just(Just(p)).flatten == Just(p))
}
assert(Just(MaybeNot).flatten == MaybeNot)
assert(MaybeNot.flatten == MaybeNot)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment