
20 Nov
2010
20 Nov
'10
3:18 a.m.
2010/11/20 Ertugrul Soeylemez
Importing Control.Applicative, you can do this:
getLine <* something >>= putStrLn
That's exactly what I was looking for. And indeed I wanted to consume some whitespace in a parser, just like you said. So I will start to read about Control.Applicative in Brent's Typeclassopedia soon. Thanks a lot Tim