<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hey Josh,<div><br></div><div>I found it pretty useful to just have a read of the changelog [1] when migrating from Megaparsec 5 to 6. I don’t know of any in-depth updated tutorials, but if you’re familiar enough with Megaparsec the changelog should provide the detail you need. </div><div><br></div><div>It took me around an hour to update a serious parser that I maintain, so the changes aren’t overly inconvenient. <br><br>I hope that helps. <br><br><div id="AppleMailSignature">_ara</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">[1] <a href="https://github.com/mrkkrp/megaparsec/blob/master/CHANGELOG.md">https://github.com/mrkkrp/megaparsec/blob/master/CHANGELOG.md</a></div><div><br>On 25 Aug 2017, at 04:26, ☂Josh Chia (謝任中) <<a href="mailto:joshchia@gmail.com">joshchia@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">I'm trying to migrate my codebase from megaparsec 5 to megaparsec 6.<div><br></div><div>There appears to be major changes. For example, Text.Megaparsec.String.Parser & Text.Megaparsec.Error.Dec have both disappeared.</div><div><br></div><div>I'm sure I could slowly plod through the new documentation, figure out the types and figure out how to migrate the code on my own, but examples & tutorials would be more time-efficient.</div><div><br></div><div>Are there examples or tutorials compatible with megaparsec 6? For a start, what should I do with the above two things that have 'disappeared'? What do I replace them with?</div><div><br></div><div>Josh</div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Haskell-Cafe mailing list</span><br><span>To (un)subscribe, modify options or view archives go to:</span><br><span><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a></span><br><span>Only members subscribed via the mailman list are allowed to post.</span></div></blockquote></div></body></html>