
#13511: ApplicativeDo return case doesn't handle lets -------------------------------------+------------------------------------- Reporter: mnislaih | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.0.2 Resolution: | Keywords: ApplicativeDo 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 mnislaih): If we stick to the definition of ApplicativeDo in the users guide, and given that join is not needed here, I think it is fair to say that this is a bug:
The language option -XApplicativeDo enables an alternative translation for the do-notation, which uses the operators <$>, <*>, along with join as far as possible.
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13511#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler