Skip to content

Instantly share code, notes, and snippets.

@siddhartha-gadgil
Created March 17, 2014 04:28
Show Gist options
  • Save siddhartha-gadgil/9593989 to your computer and use it in GitHub Desktop.
Save siddhartha-gadgil/9593989 to your computer and use it in GitHub Desktop.
_xor_ : Bool → Bool → Bool
_xor_ = λ x y → (x & (not y)) || ((not x) & y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment