[Haskell-cafe] how to simplify ressources access and pipes steam

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Thu May 21 06:59:23 UTC 2020

> Maybe fork another thread, keep reading data and putting into a shared `MVar` / `TMVar`, then current thread keep taking from that var?

The code already use async in order to read only a chunk of the data. But is true, that I could have a thread whcih read the data and post the messag into a queue.
then workers take these frames and produce a monoid.

then all monoid are reduced into the final one.

More information about the Haskell-Cafe mailing list