aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/artifact/time
diff options
context:
space:
mode:
authorEduardo Julian2021-01-13 17:42:20 -0400
committerEduardo Julian2021-01-13 17:42:20 -0400
commitae56acf791c2ed9bd5865f85fffa00b025d310fe (patch)
treed02c6f67240b27c578b7e8ca17285824eae56497 /stdlib/source/program/aedifex/artifact/time
parent71de092a045dc70ab1c9eead477cf1512b144a87 (diff)
Removed the (ultimately redundant) on_stop function for actors.
Diffstat (limited to '')
-rw-r--r--stdlib/source/program/aedifex/artifact/time_stamp.lux35
1 files changed, 0 insertions, 35 deletions
diff --git a/stdlib/source/program/aedifex/artifact/time_stamp.lux b/stdlib/source/program/aedifex/artifact/time_stamp.lux
deleted file mode 100644
index 0eab45a14..000000000
--- a/stdlib/source/program/aedifex/artifact/time_stamp.lux
+++ /dev/null
@@ -1,35 +0,0 @@
-(.module:
- [lux #*
- [abstract
- [monad (#+ do)]]
- [control
- ["<>" parser
- ["<.>" text (#+ Parser)]]]
- [data
- [text
- ["%" format]]]
- [time
- ["." instant (#+ Instant)]]]
- ["." / #_
- ["#." date]
- ["#." time]])
-
-(type: #export Time_Stamp
- Instant)
-
-(def: #export separator
- ".")
-
-(def: #export (format value)
- (%.Format Time_Stamp)
- (%.format (/date.format (instant.date value))
- ..separator
- (/time.format (instant.time value))))
-
-(def: #export parser
- (Parser Time_Stamp)
- (do <>.monad
- [date /date.parser
- _ (<text>.this ..separator)
- time /time.parser]
- (wrap (instant.from_date_time date time))))