diff options
Diffstat (limited to 'stdlib/source/lux/time/instant.lux')
-rw-r--r-- | stdlib/source/lux/time/instant.lux | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/source/lux/time/instant.lux b/stdlib/source/lux/time/instant.lux index 892b8df5b..b9d504f1a 100644 --- a/stdlib/source/lux/time/instant.lux +++ b/stdlib/source/lux/time/instant.lux @@ -14,6 +14,7 @@ [data ["." maybe] [number + ["n" nat] ["i" int ("#@." decimal)]] ["." text ("#@." monoid)] [collection @@ -288,7 +289,7 @@ ## month-days-so-far (|> months ## row.to-list ## (list.take (.nat (dec utc-month))) -## (list@fold n/+ 0)) +## (list@fold n.+ 0)) ## total-days (|> year-days-so-far ## (i.+ (.int month-days-so-far)) ## (i.+ (dec utc-day)))]] |