Attempt to make CWorld correct instance of Store
This commit is contained in:
@@ -6,9 +6,12 @@ module Dodge.Data.CrWlID where
|
||||
import Control.Lens
|
||||
import Data.Aeson
|
||||
import Data.Aeson.TH
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
|
||||
data CrWlID = CrID Int | WlID Int | NothingID -- TODO rewrite/remove this
|
||||
deriving (Eq, Ord, Show, Read)
|
||||
|
||||
makeLenses ''CrWlID
|
||||
deriveJSON defaultOptions ''CrWlID
|
||||
$($(derive [d| instance Deriving (Store CrWlID) |]))
|
||||
|
||||
Reference in New Issue
Block a user