Hacker News new | ask | show | jobs
by mwotton 4423 days ago
as a contributor to the other ElasticSearch client - kudos. This is much nicer than ours in many ways :)
2 comments

Thank you very much and thanks to everyone that helped me build this. You, carter, and the others in the Haskell/Haskell.au IRC channels were a big help. The thank-you list would be huge if I tried to list everybody that made a library I used or whose blog post helped me along.
Other ES client? In haskell?
yeah - worked on it a bit with Ollie Charles.

https://github.com/ocharles/Elasticsearch

it's not very principled, tbh. uses error etc rather than proper sum types for returning errors.

To be fair, errors are implicitly encoded in the HTTP statuses and I'm not doing anything about Conduit's exceptions right now. This is something I'd like to fix later.
Ah right, I thought there might be another one I didn't know about! ocharles tends to be a lot more principled these days if it's any comfort :-)