Skip to content

Instantly share code, notes, and snippets.

@vpayno
Last active December 23, 2020 03:56
Show Gist options
  • Save vpayno/3e91160f0834940c59aa to your computer and use it in GitHub Desktop.
Save vpayno/3e91160f0834940c59aa to your computer and use it in GitHub Desktop.
Haskell Cheat Sheets - Booleans

By Victor Payno

Booleans

Rules

Testing for Equality

  • == Equals

  • /= Not Equals

  • < Less Than

  • > Greater Than

  • <= Less Than or Equals

  • >= Greater Than or Equals

Boolean Algebra

  • && and

  • || or

  • not negates expression

  • True

  • False

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment