<div dir="auto">Welp. So IO (IO a) is a thing.<div dir="auto"><br></div><div dir="auto">Will I ever encounter ReadPrec (ReadPrec a)?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2019년 10월 14일 (월) 14:42, Dmitrii Kovanikov <<a href="mailto:kovanikov@gmail.com">kovanikov@gmail.com</a>>님이 작성:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Data types like `IO (IO a)` are useful and their usage is described in the following blog post:<div><br></div><div>* <a href="http://www.haskellforall.com/2018/02/the-wizard-monoid.html" target="_blank" rel="noreferrer">http://www.haskellforall.com/2018/02/the-wizard-monoid.html</a></div><div><br></div><div>One function from the example uses `join` directly:</div><div><br></div><div>runWizard :: IO (IO a) -> IO a</div><div>runWizard = join</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 14, 2019 at 7:55 AM Dannyu NDos <<a href="mailto:ndospark320@gmail.com" target="_blank" rel="noreferrer">ndospark320@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">join is surely useful for Maybe and [].<div dir="auto"><br></div><div dir="auto">But IO (IO a)? ReadPrec (ReadPrec a)? ST s (ST s a)? When the heck could I encounter such types?</div></div>
_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org" target="_blank" rel="noreferrer">Libraries@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" rel="noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
</blockquote></div>
</blockquote></div>