<div dir="ltr">I have not, but I might. This was a little work project that I've now run out of time for.<div><br></div><div>I was really hoping for a deeper discussion of state management than "just use this package." This seems kind of like receiving a stream of inputs from a user and needing to keep track of several items of state that are changing independently (as opposed to the neat problems usually used in basic FP education).</div><div><br></div><div>Should I be taking a more monadic approach?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 15, 2016 at 5:17 AM, Magnus Therning <span dir="ltr"><<a href="mailto:magnus@therning.org" target="_blank">magnus@therning.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
John Lusk <<a href="mailto:johnlusk4@gmail.com">johnlusk4@gmail.com</a>> writes:<br>
<br>
> Hi, all,<br>
[.. cut ..]<br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/beginners</a><br>
<br>
If I understand you correctly you want to parse a set of lines and keep<br>
track of indentation. This is not entirely unlike parsing a programming<br>
language where indentation is significant, like Haskell :) Is that<br>
correct?<br>
<br>
A quick look at Hackage gives several libs with combinators dealing with<br>
indentaion-aware parsers. Have you looked at any of them?<br>
<br>
/M<br>
<br>
--<br>
Magnus Therning OpenPGP: 0x927912051716CE39<br>
email: <a href="mailto:magnus@therning.org">magnus@therning.org</a> jabber: <a href="mailto:magnus@therning.org">magnus@therning.org</a><br>
twitter: magthe <a href="http://therning.org/magnus" rel="noreferrer" target="_blank">http://therning.org/magnus</a><br>
<br>
For a successful technology, reality must take precedence over public<br>
relations, for nature cannot be fooled.<br>
— R.P. Feynman<br>
<br>______________________________<wbr>_________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>