Attempt to make CWorld correct instance of Store
This commit is contained in:
@@ -6,6 +6,8 @@ module Dodge.Data.Hammer where
|
||||
import Control.Lens
|
||||
import Data.Aeson
|
||||
import Data.Aeson.TH
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
|
||||
data HammerType
|
||||
= NoHammer
|
||||
@@ -21,3 +23,5 @@ data HammerPosition
|
||||
makeLenses ''HammerType
|
||||
deriveJSON defaultOptions ''HammerType
|
||||
deriveJSON defaultOptions ''HammerPosition
|
||||
$($(derive [d| instance Deriving (Store HammerType) |]))
|
||||
$($(derive [d| instance Deriving (Store HammerPosition) |]))
|
||||
|
||||
Reference in New Issue
Block a user