News for hackers. Stuff that matters.
Re:Dhall: A Gateway Drug to Haskell by picozeta on Tuesday June 07, 2022 @06:18PM (#31660723)
Actually writing a self-contained parser (in essence a function parse :: [Binary] -> AST) is one of the things where Haskell shines. You could use `attoparsec` (and to start off, even using the stdlib's https://hackage.haskell.org/package/parsers-0.12.11/docs/Tex... can get you very far).

And I say that as someone, whose top-rated comment in this thread is more or less a Haskell rant.

Re:Dhall: A Gateway Drug to Haskell by etra0 on Tuesday June 07, 2022 @06:35PM (#31660861)
That's cool to know, maybe I should keep trying.

And regarding your top comment, I agree that's quite hard to find interesting SW written in it, that's one of the reasons I quickly gave up, but I guess it doesn't hurt to learn about FP after all, I want to at least write something that works before finally decide if it's worth it or not.

Re:Dhall: A Gateway Drug to Haskell by xwowsersx on Tuesday June 07, 2022 @06:23PM (#31660760)
I think OP's point was that THEY failed miserably. Presumably, they reached for Haskell to begin with because they knew it's supposed to shine for things like writing parsers. Maybe they were making a point about learning curve or FUX with Haskell...not sure since OP didn't elaborate.