Attempt to make CWorld correct instance of Store
This commit is contained in:
@@ -7,8 +7,11 @@ module Dodge.Data.Material where
|
||||
|
||||
import Data.Aeson
|
||||
import Data.Aeson.TH
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
|
||||
data Material = Wood | Dirt | Stone | Glass | Metal | Crystal | Flesh | Electronics
|
||||
deriving (Eq, Ord, Show, Bounded, Enum, Read)
|
||||
|
||||
deriveJSON defaultOptions ''Material
|
||||
$($(derive [d| instance Deriving (Store Material) |]))
|
||||
|
||||
Reference in New Issue
Block a user