Skip to content

Instantly share code, notes, and snippets.

@dvdsgl
Created March 3, 2015 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dvdsgl/68178dade795e109ae87 to your computer and use it in GitHub Desktop.
Save dvdsgl/68178dade795e109ae87 to your computer and use it in GitHub Desktop.
Error in declaration monadEffHandlerM
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.
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