mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-16 14:42:50 -06:00
fix the serialization
This commit is contained in:
@@ -33,7 +33,7 @@ instance Binary Grammar where
|
|||||||
get = fmap mGrammar get
|
get = fmap mGrammar get
|
||||||
|
|
||||||
instance Binary ModuleInfo where
|
instance Binary ModuleInfo where
|
||||||
put mi = do put (mtype mi,mstatus mi,mflags mi,mextend mi,mwith mi,mopens mi,mexdeps mi,msrc mi,jments mi)
|
put mi = do put (mtype mi,mstatus mi,mflags mi,mextend mi,mwith mi,mopens mi,mexdeps mi,msrc mi,mseqs mi,jments mi)
|
||||||
get = do (mtype,mstatus,mflags,mextend,mwith,mopens,med,msrc,mseqs,jments) <- get
|
get = do (mtype,mstatus,mflags,mextend,mwith,mopens,med,msrc,mseqs,jments) <- get
|
||||||
return (ModInfo mtype mstatus mflags mextend mwith mopens med msrc mseqs jments)
|
return (ModInfo mtype mstatus mflags mextend mwith mopens med msrc mseqs jments)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user