on master help sign in
More Data instances.
commitc872b2d66af1882777d4594ae3fda636771bb699 authorNick <nick@typeable.io> dateTue 31 Jan 2023, 07:13 (4 years ago) parentd2562da
1 file changed+1
src/Data/Money/Internal.hs+1
src/Data/Money/Internal.hs+1
@@ -28,6 +28,7 @@ newtype Money curr = Money { getAmount :: Centi }
2828-- | Empty type, used only to carry its type parameter with a currency code around. E.g. 'Currency "USD"', 'Currency "GBP"', et cetera.
2929-- See Data.Money.Currencies for pre-defined currency types.
3030data Currency (name :: Symbol)
31+ deriving (Generic, Data)
3132
3233-- | Statically known currency type class.
3334class KnownCurrency c where