[Haskell-beginners] Noobie attempt to process log output into dependency graph

Imants Cekusins imantc at gmail.com
Thu Dec 15 21:23:55 UTC 2016


> f :: [input] -> state -> outputs

.. or with state monad m it could be a combination of

f :: [input] -> m outputs

f :: [input] -> outputs  - for intermediate results where state is not R/W


state + IO is not too difficult. here is a very good explanation
<http://stackoverflow.com/questions/3640120/combine-state-with-io-actions>
I understood the last one - Use liftIO - best
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20161215/dc781a26/attachment.html>


More information about the Beginners mailing list