Cleanup, remove records, stop unecessary Aeson compile
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{-# LANGUAGE DeriveAnyClass #-}
|
||||
{-# LANGUAGE DeriveGeneric #-}
|
||||
{-# LANGUAGE DerivingStrategies #-}
|
||||
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
|
||||
{-# LANGUAGE StrictData #-}
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
|
||||
module Dodge.Data.CombAmount where
|
||||
|
||||
import Control.Lens
|
||||
|
||||
newtype CombAmount = CombAmount {_getCombAmount :: Int}
|
||||
deriving newtype (Eq, Ord, Read, Show, Num, Real, Enum, Integral)
|
||||
|
||||
makeLenses ''CombAmount
|
||||
|
||||
Reference in New Issue
Block a user