Add Store instances
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
|
||||
module Dodge.Data.ForegroundShape where
|
||||
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
import Data.Binary
|
||||
import Flat
|
||||
import LinearHelp ()
|
||||
@@ -22,7 +24,7 @@ data ForegroundShape = ForegroundShape
|
||||
, _fsSPic :: SPic
|
||||
}
|
||||
deriving (Eq, Ord, Show, Read, Generic, Flat)
|
||||
instance Binary ForegroundShape
|
||||
$($(derive [d| instance Deriving (Store ForegroundShape ) |]))
|
||||
|
||||
makeLenses ''ForegroundShape
|
||||
deriveJSON defaultOptions ''ForegroundShape
|
||||
|
||||
Reference in New Issue
Block a user