Skip to content

Instantly share code, notes, and snippets.

@kch
Created October 24, 2011 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kch/1309487 to your computer and use it in GitHub Desktop.
Save kch/1309487 to your computer and use it in GitHub Desktop.
unicode operators yay!
#!/usr/bin/env runhaskell
(≤) = (<=)
(≥) = (>=)
(≠) = (/=)
(÷) = (div)
main = do
print (1 ≤ 2)
print (2 ≥ 1)
print (1 ≠ 2)
print (9 ÷ 4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment