Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  Noobie attempt to process log output into dependency
      graph (Imants Cekusins)
   2. Re:  Noobie attempt to process log output into dependency
      graph (John Lusk)


----------------------------------------------------------------------

Message: 1
Date: Thu, 15 Dec 2016 22:23:55 +0100
From: Imants Cekusins <ima...@gmail.com>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <beginners@haskell.org>
Subject: Re: [Haskell-beginners] Noobie attempt to process log output
        into dependency graph
Message-ID:
        <CAP1qinZzr+1woOuuuLXfrji63uL9AXDgM7_=9o7n14twu-7...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

> 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-0001.html>

------------------------------

Message: 2
Date: Thu, 15 Dec 2016 16:25:37 -0500
From: John Lusk <johnlu...@gmail.com>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <beginners@haskell.org>
Subject: Re: [Haskell-beginners] Noobie attempt to process log output
        into dependency graph
Message-ID:
        <cajqkmbyanq9v79lx3x8jnwnokrrk2ng5kyiokx37wbip69e...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Thanks!!

John.

On Thu, Dec 15, 2016 at 4:23 PM, Imants Cekusins <ima...@gmail.com> wrote:

> > 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
>
> _______________________________________________
> Beginners mailing list
> Beginners@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20161215/57b17a52/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 102, Issue 9
*****************************************

Reply via email to