Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getLinee :: IO String
- getLinee = do x <- getChar
- if x == '\n' then return []
- else
- do xs <- getLinee
- return (x:xs)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement