[Haskell-cafe] RebindableSyntax and fail in GHC 8

Chris Smith cdsmith at gmail.com
Wed Dec 21 22:13:34 UTC 2016


Thanks for the response.  It appears the bug was already reported in a
slightly different context.  https://ghc.haskell.org/trac/ghc/ticket/11216

On Wed, Dec 21, 2016 at 6:24 AM, Richard Eisenberg <rae at cs.brynmawr.edu>
wrote:

> Sounds like a bug to me.... and one I may have run into at some point.
> Would you care to file a bug report?
>
> Thanks!
> Richard
>
> > On Dec 20, 2016, at 3:53 AM, Chris Smith <cdsmith at gmail.com> wrote:
> >
> > 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
> > _______________________________________________
> > Haskell-Cafe mailing list
> > To (un)subscribe, modify options or view archives go to:
> > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> > Only members subscribed via the mailman list are allowed to post.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20161221/1ed7352b/attachment.html>


More information about the Haskell-Cafe mailing list