Move from store to flat
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
{-# LANGUAGE DeriveGeneric #-}
|
||||
{-# LANGUAGE DeriveAnyClass #-}
|
||||
{-# LANGUAGE StrictData #-}
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
|
||||
module Dodge.Data.TeslaArc where
|
||||
|
||||
import Flat
|
||||
import LinearHelp
|
||||
import Color
|
||||
import Control.Lens
|
||||
@@ -19,8 +22,7 @@ data TeslaArc = TeslaArc
|
||||
, _taArcSteps :: [ArcStep]
|
||||
, _taColor :: Color
|
||||
}
|
||||
deriving (Eq, Ord, Show, Read)
|
||||
deriving (Eq, Ord, Show, Read, Generic, Flat)
|
||||
|
||||
makeLenses ''TeslaArc
|
||||
deriveJSON defaultOptions ''TeslaArc
|
||||
$($(derive [d| instance Deriving (Store TeslaArc) |]))
|
||||
|
||||
Reference in New Issue
Block a user