Quantcast
Channel: Haskell Parser not working - Stack Overflow
Browsing index pages (2 articles)

Haskell Parser not working

I am trying to understand Parsers. Therefore I have created my own parser. Unfortunately it does not work. Why? type Parser a = String -> [(a, String)]preturn :: a -> Parser a preturn t = \inp...

View Article


Answer by kosmikus for Haskell Parser not working

Please use code that compiles. Your another function does not.What's the problem?Your code for firstlast and another makes use of do-notation. And the way you're using pitem here, it looks as if you're...

View Article

Browsing index pages (2 articles)


Latest Images