Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Out of curiousity, what exactly was the difficulty with decoding JSON in Haskell/


I was trying to use Aeson, which as noted in this excellent tutorial [1] (which didn’t exist when I first tried it) is “hopelessly magical for people who try to learn it by looking at provided examples, and existing tutorials don’t help that much.“ The rest of the tutorial should give you some idea of why I say that parsing JSON in Haskell is complex, at least if you’re used to doing it in JavaScript.

[1]: https://artyom.me/aeson


I'm interested in specifically what issues you had with JSON.


a quick search brings up a library, not sure why you would have trouble, other than maybe experience? https://github.com/bos/aeson


I was replying to someone who said they had trouble.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: