Attempt to make CWorld correct instance of Store
This commit is contained in:
@@ -6,6 +6,8 @@ module Dodge.Data.Bounds where
|
||||
import Control.Lens
|
||||
import Data.Aeson
|
||||
import Data.Aeson.TH
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
|
||||
data Bounds = Bounds
|
||||
{ _bdMinX :: Float
|
||||
@@ -20,3 +22,4 @@ defaultBounds = Bounds 0 0 0 0
|
||||
|
||||
makeLenses ''Bounds
|
||||
deriveJSON defaultOptions ''Bounds
|
||||
$($(derive [d| instance Deriving (Store Bounds) |]))
|
||||
|
||||
Reference in New Issue
Block a user