git.iko.soy/typeable/pandoc
on master help sign in
Class: Specify Functor and Applicative
45f3c53Jesse Rosenthal
src/Text/Pandoc/Class.hs+1−1
@@ -67,7 +67,7 @@ import Control.Monad.Reader hiding (fail)
67import Data.Word (Word8)
67import Data.Word (Word8)
68import Data.Typeable
68import Data.Typeable
69
69
70−class Monad m => PandocMonad m where
70+class (Functor m, Applicative m, Monad m) => PandocMonad m where
71 lookupEnv :: String -> m (Maybe String)
71 lookupEnv :: String -> m (Maybe String)
72 getCurrentTime :: m UTCTime
72 getCurrentTime :: m UTCTime
73 getDefaultReferenceDocx :: Maybe FilePath -> m Archive
73 getDefaultReferenceDocx :: Maybe FilePath -> m Archive