You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/Glazier/React/Markup.hs:132:5: error:
• Could not deduce (Monad m) arising from a do statement
from the context: Functor m
bound by the type signature for:
bh :: forall (m :: * -> *) a.
Functor m =>
JE.JSVar -> [JE.Property] -> ReactMlT m a -> ReactMlT m a
at src/Glazier/React/Markup.hs:130:1-76
Possible fix:
add (Monad m) to the context of
the type signature for:
bh :: forall (m :: * -> *) a.
Functor m =>
JE.JSVar -> [JE.Property] -> ReactMlT m a -> ReactMlT m a
• In a stmt of a 'do' block: (a, childs') <- childs mempty
In the expression:
do (a, childs') <- childs mempty
pure (a, xs `D.snoc` BranchMarkup (BranchParam n props childs'))
In the second argument of ‘($)’, namely
‘\ xs
-> do (a, childs') <- childs mempty
pure (a, xs `D.snoc` BranchMarkup (BranchParam n props childs'))’
|
132 | (a, childs') <- childs mempty
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Glazier/React/Markup.hs:133:5: error:
• Could not deduce (Applicative m) arising from a use of ‘pure’
from the context: Functor m
bound by the type signature for:
bh :: forall (m :: * -> *) a.
Functor m =>
JE.JSVar -> [JE.Property] -> ReactMlT m a -> ReactMlT m a
at src/Glazier/React/Markup.hs:130:1-76
The text was updated successfully, but these errors were encountered:
snoyberg
added a commit
to commercialhaskell/stackage
that referenced
this issue
Jul 31, 2017
The text was updated successfully, but these errors were encountered: