top | item 9053195 (no title) shangaslammi | 11 years ago You need to use curly braces in single-line do-expressions: do { line <- getLine; putStrLn line } discuss order hn newest iopq|11 years ago First of all, I took that example from the webpage. And it works in ghci (if printing ? back to me "works", then I guess it works) shangaslammi|11 years ago Ah, right, sorry. I completely misread your post.I guess there's something funky in the unicode handling on the site.
iopq|11 years ago First of all, I took that example from the webpage. And it works in ghci (if printing ? back to me "works", then I guess it works) shangaslammi|11 years ago Ah, right, sorry. I completely misread your post.I guess there's something funky in the unicode handling on the site.
shangaslammi|11 years ago Ah, right, sorry. I completely misread your post.I guess there's something funky in the unicode handling on the site.
iopq|11 years ago
shangaslammi|11 years ago
I guess there's something funky in the unicode handling on the site.