News for hackers. Stuff that matters.
Re:Haskell : polymorphism at value level, not method paramet... by chc on Sunday October 16, 2011 @01:39PM (#3117786)
Well, yes, you wouldn't want to base a whole parser around this feature of the language. He was just saying that it gives read and show enough power to act like a simple parser. For full-fledged parsers in Haskell, you'd generally want to use Parsec, which is much more complicated and appears at first to be built entirely out of funny-looking combinatorial operators.
Re:Haskell : polymorphism at value level, not method paramet... by pjscott on Sunday October 16, 2011 @03:25PM (#3118051)
There also seems to be a fair amount of momentum around attoparsec, which has fewer features than Parsec but is very fast and works on bytestrings. Either is good; parsing is one area where Haskell really excels.