diff options
Diffstat (limited to 'stdlib/source/test/lux/time/date.lux')
-rw-r--r-- | stdlib/source/test/lux/time/date.lux | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/stdlib/source/test/lux/time/date.lux b/stdlib/source/test/lux/time/date.lux index 6ca543cf9..fd17f3075 100644 --- a/stdlib/source/test/lux/time/date.lux +++ b/stdlib/source/test/lux/time/date.lux @@ -1,15 +1,18 @@ (.module: [lux #* ["%" data/text/format (#+ format)] - ["r" math/random (#+ Random)] ["_" test (#+ Test)] + [math + ["." random (#+ Random)]] [abstract ["." monad (#+ do)] {[0 #spec] [/ ["$." equivalence] ["$." order] - ["$." codec]]}]] + ["$." codec]]}] + [control + ["." try]]] [// ["_." instant]] {1 @@ -19,7 +22,8 @@ (def: #export date (Random Date) - (|> _instant.instant (:: r.monad map //instant.date))) + (:: random.monad map //instant.date + _instant.instant)) (def: #export test Test |