Attempt to make CWorld correct instance of Store
This commit is contained in:
@@ -12,6 +12,8 @@ import Geometry.Data
|
||||
import qualified Quaternion as Q
|
||||
import Shape.Data
|
||||
import ShapePicture.Data
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
|
||||
data Prop
|
||||
= PropZ
|
||||
@@ -75,3 +77,7 @@ deriveJSON defaultOptions ''PropDraw
|
||||
deriveJSON defaultOptions ''PropUpdate
|
||||
deriveJSON defaultOptions ''PrWdLsLs
|
||||
deriveJSON defaultOptions ''Prop
|
||||
$($(derive [d| instance Deriving (Store PropDraw) |]))
|
||||
$($(derive [d| instance Deriving (Store PropUpdate) |]))
|
||||
$($(derive [d| instance Deriving (Store PrWdLsLs) |]))
|
||||
$($(derive [d| instance Deriving (Store Prop) |]))
|
||||
|
||||
Reference in New Issue
Block a user