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
Go to offending instance and remove the no ghc-7.8 code. It is
commented in preprocessor directives
Leave this:
data Medit view m a = Medit (M.Map B.ByteString [(String,View view m a)])
deriving Typeable
The code is:
data Medit view m a = Medit (M.Map B.ByteString [(String,View view m a)])
-- #ifdef GHC77
-- deriving Typeable
-- #else
instance (Typeable view, Typeable a) => Typeable (Medit view m a) where
typeOf= \v -> mkTyConApp (mkTyCon3 "MFlow" "MFlow.Forms.Widgets" "Medit" )
[typeOf (tview v)
,typeOf (ta v)]
where
tview :: Medit v m a -> v
tview= undefined
tm :: Medit v m a -> m a
tm= undefined
ta :: Medit v m a -> a
ta= undefined
-- #endif
Building with ghc 7.8.2 doesn't work because custom instances of Typeable aren't allowed, and they are being used in src/MFlow/Forms/Widgets.hs.
After some digging, I found this commit:
b22651c
which fixes the problem, however the changes made by this commit seem to have been overwritten?
The text was updated successfully, but these errors were encountered: