[Haskell-cafe] RebindableSyntax and fail in GHC 8
Chris Smith
cdsmith at gmail.com
Tue Dec 20 08:53:53 UTC 2016
Hey everyone,
Can someone explain to me by GHC 8 causes list comprehension bindings to
desugar to use 'fail', when RebindableSyntax is enabled in GHC 8? Note
that I do not have monad comprehensions enabled. If I define fail,
everything works (apparently regardless of what I define fail to do?!?),
but I'd like to understand why it's necessary.
Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20161220/88e51efd/attachment.html>
More information about the Haskell-Cafe
mailing list