Comment

Comment by vdijkbas

Haxl is a powerful abstraction with IMHO a beatifuly simple implementation.

However for our use case at LumiGuide (reading and writing registers of modbus devices) it wasn't simple enough. We just needed an abstraction for batching and did not need caching and the other features Haxl provides.

So I wrote monad-batcher which as the name implies only provides a batching abstraction (which can also be used to execute commands concurrently). All the other features can be build on top of monad-batcher as separate layers (separation of concerns).

The library is available on Hackage but needs a bit more documentation (a tutorial would be nice):

http://hackage.haskell.org/package/monad-batcher

parent vdijkbas 9 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton