#5349: Proposal: Make Q an instance of Applicative
---------------------------------+------------------------------------------
Reporter: basvandijk | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Template Haskell | Version: 7.0.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by byorgey):
Nothing is lost by the change (other than requiring a tiny bit more work
on the part of Quasi instances) since all monads are also applicative
functors.
However, I note that (Monad m, Applicative m, Functor m) => ... is
redundant, since Applicative m requires Functor m. Hence only (Monad m,
Applicative m) => ... is needed.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5349#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs