From a1ca226b3f8394f522259094f9beb275fb8e13c6 Mon Sep 17 00:00:00 2001 From: George Lemon Date: Wed, 23 Aug 2023 10:22:07 +0300 Subject: [PATCH] fix Signed-off-by: George Lemon --- src/money.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/money.nim b/src/money.nim index 382093d..b826bfe 100644 --- a/src/money.nim +++ b/src/money.nim @@ -182,7 +182,7 @@ type negative, rtl: bool const - Currencies*: array[161, Currency] = [ + Currencies*: array[155, Currency] = [ ("ALGERIAN DINAR", DZD, 2), ("ANGOLA KWANZA", AOA, 2), ("ARGENTINE PESO", ARS, 2), @@ -502,7 +502,7 @@ proc contains*(x: Money, currency: Alpha3): bool = proc coupon*[M: Money](amount: var M, discount: M) = discard # todo -proc coupon*(amount: var M, discount: float) = +proc coupon*(amount: var Money, discount: float) = discard # todo proc `$`*(symbol: Alpha3): string =