SHARE
TWEET

Untitled

a guest May 21st, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. getLinee :: IO String
  2. getLinee = do x <- getChar
  3.               if x == '\n' then return []
  4.               else
  5.                 do xs <- getLinee
  6.                    return (x:xs)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top