aboutsummaryrefslogtreecommitdiff
path: root/licentia/source/program
diff options
context:
space:
mode:
Diffstat (limited to 'licentia/source/program')
-rw-r--r--licentia/source/program/licentia/input.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/licentia/source/program/licentia/input.lux b/licentia/source/program/licentia/input.lux
index 437675acd..afc723656 100644
--- a/licentia/source/program/licentia/input.lux
+++ b/licentia/source/program/licentia/input.lux
@@ -40,11 +40,11 @@
(exception .public (cannot_use_fractional_amount [amount Frac])
(exception.report
- "Amount" (%.frac amount)))
+ (list ["Amount" (%.frac amount)])))
(exception .public (cannot_use_negative_amount [amount Int])
(exception.report
- "Amount" (%.int amount)))
+ (list ["Amount" (%.int amount)])))
(def amount
(Parser Nat)
@@ -60,8 +60,8 @@
(exception .public (invalid_period [period (Period Nat)])
(exception.report
- "Start" (%.nat (the time.#start period))
- "End" (%.nat (the time.#end period))))
+ (list ["Start" (%.nat (the time.#start period))]
+ ["End" (%.nat (the time.#end period))])))
(def period
(Parser (Period Nat))