Go back to JSON encoding
This commit is contained in:
@@ -23,9 +23,6 @@ module Dodge.Data.Creature.Perception (
|
||||
auDist,
|
||||
) where
|
||||
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
import Data.Binary
|
||||
import Flat
|
||||
import Control.Lens
|
||||
import Data.Aeson
|
||||
@@ -70,7 +67,6 @@ data Awareness
|
||||
= Suspicious Float
|
||||
| Cognizant Float
|
||||
deriving (Eq, Ord, Show, Read, Generic, Flat)
|
||||
$($(derive [d| instance Deriving (Store Awareness) |]))
|
||||
|
||||
makeLenses ''Perception
|
||||
makeLenses ''Vision
|
||||
@@ -82,8 +78,3 @@ deriveJSON defaultOptions ''Audition
|
||||
deriveJSON defaultOptions ''Vigilance
|
||||
deriveJSON defaultOptions ''Attention
|
||||
deriveJSON defaultOptions ''Awareness
|
||||
$($(derive [d| instance Deriving (Store Perception ) |]))
|
||||
$($(derive [d| instance Deriving (Store Vision ) |]))
|
||||
$($(derive [d| instance Deriving (Store Audition ) |]))
|
||||
$($(derive [d| instance Deriving (Store Vigilance) |]))
|
||||
$($(derive [d| instance Deriving (Store Attention) |]))
|
||||
|
||||
Reference in New Issue
Block a user