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.FloatFunction where
|
||||
|
||||
import Flat
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
import Data.Aeson
|
||||
@@ -14,8 +17,6 @@ data FloatFloat
|
||||
| FloatLessCheck Float
|
||||
| FloatAbsCheckGreaterLess Float Float Float
|
||||
| FloatConst Float
|
||||
deriving (Eq, Ord, Show, Read)
|
||||
deriving (Eq, Ord, Show, Read, Generic, Flat)
|
||||
|
||||
deriveJSON defaultOptions ''FloatFloat
|
||||
|
||||
$($(derive [d|instance Deriving (Store FloatFloat)|]))
|
||||
|
||||
Reference in New Issue
Block a user