Created
March 3, 2015 21:56
-
-
Save dvdsgl/68178dade795e109ae87 to your computer and use it in GitHub Desktop.
Error in declaration monadEffHandlerM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling Node.Express.Handler | |
Error at bower_components/purescript-express/src/Node/Express/Handler.purs line 64, column 1 - line 68, column 1: | |
Error in declaration monadEffHandlerM | |
Cannot unify * with (* -> *) -> u146. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type ExpressM a = forall e. Eff (express :: Express | e) a | |
data HandlerM a = HandlerM (Request -> Response -> ExpressM Unit -> ExpressM a) | |
instance monadEffHandlerM :: MonadEff eff HandlerM where | |
liftEff act = HandlerM \_ _ _ -> unsafeInterleaveEff act |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment