Resolving dependencies... Downloading nntp-0.0.2... Configuring nntp-0.0.2... Building nntp-0.0.2... Preprocessing library nntp-0.0.2... [1 of 5] Compiling Network.NNTP.Internal ( src/Network/NNTP/Internal.hs, dist/build/Network/NNTP/Internal.o ) src/Network/NNTP/Internal.hs:108:28: Could not deduce (Functor m) arising from a use of `<$>' from the context (Monad m) bound by the instance declaration at src/Network/NNTP/Internal.hs:107:10-37 Possible fix: add (Functor m) to the context of the type signature for fmap :: (a -> b) -> NntpT m a -> NntpT m b or the instance declaration In the second argument of `($)', namely `f <$> runNntpT m' In the expression: NntpT $ f <$> runNntpT m In an equation for `fmap': f fmap m = NntpT $ f <$> runNntpT m Failed to install nntp-0.0.2 cabal: Error: some packages failed to install: nntp-0.0.2 failed during the building phase. The exception was: ExitFailure 1