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/program/aedifex/artifact/time | |
parent | 486488ae17007406a6c90f182b85f7be14b6b373 (diff) |
Added import name formatting to "import:" macros for other backends.
Diffstat (limited to 'stdlib/source/program/aedifex/artifact/time')
-rw-r--r-- | stdlib/source/program/aedifex/artifact/time/time.lux | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/stdlib/source/program/aedifex/artifact/time/time.lux b/stdlib/source/program/aedifex/artifact/time/time.lux index d14f0a435..5c074c20b 100644 --- a/stdlib/source/program/aedifex/artifact/time/time.lux +++ b/stdlib/source/program/aedifex/artifact/time/time.lux @@ -1,6 +1,6 @@ (.module: [lux #* - ["." time (#+ Time)] + ["." time] [abstract [monad (#+ do)]] [control @@ -15,6 +15,9 @@ ["." // #_ ["#" date]]) +(type: #export Time + time.Time) + (def: #export (format value) (%.Format Time) (let [(^slots [#time.hour #time.minute #time.second]) (time.clock value)] |