Let ReadP carry a failure message

chessai chessai1996 at gmail.com
Fri Nov 20 03:50:14 UTC 2020

This seems like bloat to me, should probably be in userspace if it exists
at all.

I never use Read et al in actual code, and I doubt most people do. What are
you using it for?

On Thu, Nov 19, 2020, 21:26 Dannyu NDos <ndospark320 at gmail.com> wrote:

> Well, I once tried implementing a parser that evaluates integer
> addition, multiplication, exponential, tetration, pentation, and so on
> infinitely. The operators were + with precedence 6, * with precedence
> 7, ^ with precedence 8, ^^ with precedence 9 (for tetration), ^^^ with
> precedence 10 (for pentation), ^^^^ with precedence 11 (for hexation),
> and so on infinitely. I've not succeeded implementing it using
> ordinary ReadP.
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20201119/2672fc23/attachment.html>

More information about the Libraries mailing list