[Haskell-cafe] Conduit & state

Павел Гаврилов lghtfck at gmail.com
Fri Jul 18 13:15:38 UTC 2014


Hi!

I have:

runUnixServer (serverSettings socket) $ \appData ->
  appSource appData
  $$ CL.map handleBS
  =$ appSink appData

I  want to store some data in priority queue in Monad.State and be able to
access it inside the handleBS (now: handleBS :: ByteString -> ByteString).
Can you send me on the right path?

Thanx, Pavel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140718/8ac244d3/attachment.html>


More information about the Haskell-Cafe mailing list