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

Magnus Therning magnus at therning.org
Thu Dec 15 10:17:53 UTC 2016


John Lusk <johnlusk4 at gmail.com> writes:

> Hi, all,
[.. cut ..]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

If I understand you correctly you want to parse a set of lines and keep
track of indentation. This is not entirely unlike parsing a programming
language where indentation is significant, like Haskell :) Is that
correct?

A quick look at Hackage gives several libs with combinators dealing with
indentaion-aware parsers. Have you looked at any of them?

/M

--
Magnus Therning              OpenPGP: 0x927912051716CE39
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
     — R.P. Feynman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20161215/7aa1c1e5/attachment.sig>


More information about the Beginners mailing list