Hacker News new | ask | show | jobs
by mwotton 4422 days ago
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.

2 comments

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 :-)