Skip to content

Commit a50adda

Browse files
committed
remove redundant stuff
1 parent 6d4403b commit a50adda

File tree

3 files changed

+2
-23
lines changed

3 files changed

+2
-23
lines changed

pub/functora/functora.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ common pkg-money
248248
, aeson-combinators
249249
, base
250250
, cfg
251-
, tags
251+
, singlethongs
252252
, template-haskell
253253

254254
common pkg-rates

pub/functora/src/money/Functora/Money.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import qualified Data.Aeson.Combinators.Decode as A
2121
import Functora.Cfg
2222
import Functora.MoneySing as X
2323
import Functora.Prelude
24-
import Functora.Tags as X
2524

2625
data Money = Money
2726
{ moneyAmount :: MoneyAmount,

pub/functora/src/money/Functora/MoneySing.hs

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ module Functora.MoneySing where
55
import Data.Type.Equality
66
import Functora.Cfg
77
import Functora.Prelude
8-
import Functora.Tags
98
import qualified Language.Haskell.TH.Syntax as TH
9+
import Singlethongs
1010

1111
data CurrencyKind = Crypto | Stable | Fiat
1212
deriving stock (Eq, Ord, Show, Read, Enum, Bounded, Data, Generic, TH.Lift)
@@ -48,26 +48,6 @@ data SignedOrUnsigned = Signed | Unsigned
4848
deriving stock (Eq, Ord, Show, Read, Enum, Bounded, Data, Generic, TH.Lift)
4949
deriving (HasCodec, HasItemCodec) via GenericEnum SignedOrUnsigned
5050

51-
type instance Fgpt CurrencyKind = "Functora.MoneySing.CurrencyKind"
52-
53-
type instance Fgpt BuyOrSell = "Functora.MoneySing.BuyOrSell"
54-
55-
type instance Fgpt NetOrGross = "Functora.MoneySing.NetOrGross"
56-
57-
type instance Fgpt GainOrLose = "Functora.MoneySing.GainOrLose"
58-
59-
type instance Fgpt BaseOrQuote = "Functora.MoneySing.BaseOrQuote"
60-
61-
type instance Fgpt MakerOrTaker = "Functora.MoneySing.MakerOrTaker"
62-
63-
type instance Fgpt LocalOrRemote = "Functora.MoneySing.LocalOrRemote"
64-
65-
type instance Fgpt MinOrMax = "Functora.MoneySing.MinOrMax"
66-
67-
type instance Fgpt Revenue = "Functora.MoneySing.Revenue"
68-
69-
type instance Fgpt SignedOrUnsigned = "Functora.MoneySing.SignedOrUnsigned"
70-
7151
--
7252
-- SignedOrUnsigned
7353
--

0 commit comments

Comments
 (0)