This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 20th, 2012  |  syntax: Haskell  |  size: 0.13 KB  |  views: 22  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. foo :: (Ord a) => a -> a -> IO ()
  2. foo a b | a < b     = print "left"
  3.         | otherwise = print "right"
  4.  
  5. main = do
  6.   foo 24 32
clone this paste RAW Paste Data