Class: Specify Functor and Applicative
We're still compiling for 7.8 which is pre-AMP, so let's just be explicit about it so we can use applicative notation.
This commit is contained in:
parent
6595318142
commit
45f3c53dd9
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ import Control.Monad.Reader hiding (fail)
|
||||||
import Data.Word (Word8)
|
import Data.Word (Word8)
|
||||||
import Data.Typeable
|
import Data.Typeable
|
||||||
|
|
||||||
class Monad m => PandocMonad m where
|
class (Functor m, Applicative m, Monad m) => PandocMonad m where
|
||||||
lookupEnv :: String -> m (Maybe String)
|
lookupEnv :: String -> m (Maybe String)
|
||||||
getCurrentTime :: m UTCTime
|
getCurrentTime :: m UTCTime
|
||||||
getDefaultReferenceDocx :: Maybe FilePath -> m Archive
|
getDefaultReferenceDocx :: Maybe FilePath -> m Archive
|
||||||
|
|
Loading…
Add table
Reference in a new issue