
#8218: Missing instance Monad WrappedMonad ------------------------------------+------------------------------------- Reporter: jcpetruzza | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: libraries/base | Version: 7.6.3 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- Add to Control.Applicative the missing instance: {{{ instance Monad m => Monad (WrappedMonad m) where return = WrapMonad . return a >>= f = WrapMonad (unwrapMonad a >>= unwrapMonad . f) }}} Mailing-list discussion here: http://markmail.org/message/jfy7v2dgn7fpzplb -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8218 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler