Skip to content

Instantly share code, notes, and snippets.

@vpayno
Created August 10, 2014 02:14
Show Gist options
  • Save vpayno/405ebf93ac619ff5226b to your computer and use it in GitHub Desktop.
Save vpayno/405ebf93ac619ff5226b to your computer and use it in GitHub Desktop.
Haskell Cheat Sheets - Numbers

By Victor Payno

Numbers

Rules

  1. Integers can act like floats but floats can't act like integers.

  2. Negative numbers must be surrounded by parenthesis or the compiler will try to use the negative sign as an infix function.

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