diff options
author | Eduardo Julian | 2021-06-11 02:48:13 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-06-11 02:48:13 -0400 |
commit | 8f575da5095e3b259d4eb6b6f13d3e37ef1d38e4 (patch) | |
tree | d4ad0bf5582637395508b4a260491373d55e760b /stdlib/source/test/aedifex/artifact/time.lux | |
parent | 486488ae17007406a6c90f182b85f7be14b6b373 (diff) |
Added import name formatting to "import:" macros for other backends.
Diffstat (limited to 'stdlib/source/test/aedifex/artifact/time.lux')
-rw-r--r-- | stdlib/source/test/aedifex/artifact/time.lux | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/stdlib/source/test/aedifex/artifact/time.lux b/stdlib/source/test/aedifex/artifact/time.lux index 4bf63018c..b14032a8c 100644 --- a/stdlib/source/test/aedifex/artifact/time.lux +++ b/stdlib/source/test/aedifex/artifact/time.lux @@ -11,7 +11,9 @@ [parser ["<.>" text]]] [math - ["." random (#+ Random)]] + ["." random (#+ Random)] + [number + ["i" int]]] [time ["." instant]]] {#program @@ -22,7 +24,10 @@ (def: #export random (Random /.Time) - random.instant) + (do random.monad + [date /date.random + time /time.random] + (wrap (instant.from_date_time date time)))) (def: #export test Test |