[GHC] #10381: Type-checking failure with RankNTypes and RebindableSyntax
GHC
ghc-devs at haskell.org
Tue May 5 01:24:18 UTC 2015
#10381: Type-checking failure with RankNTypes and RebindableSyntax
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by goldfire):
Good point. But perhaps it's worth deviating from the report desugaring in
the case where the LHS of the `<-` is a bare variable. Desugaring `a <- b;
c` to `b >>= \a -> c` instead of the more verbose version seems to have
the same runtime semantics but perhaps better compile-time behavior.
Though this isn't ruining my day, as such, I'll name myself as a Real
Client, for once, as this happened while doing something other than
directly trying to befuddle GHC.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10381#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list