1 {-# LANGUAGE DeriveDataTypeable #-}
2 module Hcompta.Model.Amount.Conversion where
5 import Data.Typeable ()
7 import qualified Hcompta.Model.Amount.Quantity as Quantity
8 import Hcompta.Model.Amount.Quantity (Quantity)
9 import qualified Hcompta.Model.Amount.Style as Style
10 import Hcompta.Model.Amount.Style (Style)
11 import qualified Hcompta.Model.Amount.Unit as Unit
12 import Hcompta.Model.Amount.Unit (Unit)
13 import qualified Hcompta.Model.Date as Date
14 import Hcompta.Model.Date (Date)
17 = Unit Quantity Unit Style
18 | Total Quantity Unit Style
19 deriving (Data, Eq, Ord, Read, Show, Typeable)
23 { amount :: (Quantity, Unit, Style)
26 } deriving (Data, Eq, Read, Show, Typeable)
28 nil :: Maybe Conversion