aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/time/instant.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/time/instant.lux')
-rw-r--r--stdlib/source/lux/time/instant.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/time/instant.lux b/stdlib/source/lux/time/instant.lux
index ce97cecea..9002ff9ef 100644
--- a/stdlib/source/lux/time/instant.lux
+++ b/stdlib/source/lux/time/instant.lux
@@ -80,11 +80,11 @@
## Codec::encode
(def: (divisible? factor input)
- (-> Int Int Bool)
+ (-> Int Int Bit)
(|> input (i/% factor) (i/= 0)))
(def: (leap-year? year)
- (-> Int Bool)
+ (-> Int Bit)
(and (divisible? 4 year)
(or (not (divisible? 100 year))
(divisible? 400 year))))