<p dir="ltr">For sure you need to be able to add stuff to the todo list ;)</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Aug 16, 2016 8:27 PM, "Francesco Ariis" <<a href="mailto:fa-ml@ariis.it">fa-ml@ariis.it</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Aug 16, 2016 at 08:21:31PM +0200, Corentin Dupont wrote:<br>
> Hi guys,<br>
> is there some library with a Monad (+Applicative, Functor...) instance of<br>
> the following type:<br>
><br>
> data Todo a b = Todo [a] | Done b<br>
<br>
What is the general idea behind the "todo monad"? As an unrepented<br>
procrastinator, I might learn something useful.<br>
______________________________<wbr>_________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/haskell-<wbr>cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div></div>