[GHC] #12490: With RebindableSyntax, ApplicativeDo should eliminate return/pure
GHC
ghc-devs at haskell.org
Tue Aug 30 14:14:46 UTC 2016
#12490: With RebindableSyntax, ApplicativeDo should eliminate return/pure
-------------------------------------+-------------------------------------
Reporter: AaronFriel | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
My proposed solution here would be to lookup the `Name` of `return` in the
environment and compare against it in `isReturnApp`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12490#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list