diff options
author | Eduardo Julian | 2022-06-12 00:38:20 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-06-12 00:38:20 -0400 |
commit | b48ea68a83d01903554c7696c77eedaaf1035680 (patch) | |
tree | c342d8094c3158de16526f874ca9624418cd2dd2 /stdlib/source/library/lux/world/shell.lux | |
parent | 7abf2d0ac55c229a8793bbff31f132596ffcb275 (diff) |
De-sigil-ification: suffix : [Part 3]
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/world/shell.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/world/shell.lux b/stdlib/source/library/lux/world/shell.lux index f65320c2d..0c648c17d 100644 --- a/stdlib/source/library/lux/world/shell.lux +++ b/stdlib/source/library/lux/world/shell.lux @@ -36,7 +36,7 @@ (type: .public Exit Int) -(template [<code> <name>] +(with_template [<code> <name>] [(def: .public <name> Exit <code>)] @@ -61,7 +61,7 @@ (def: (async_process process) (-> (Process IO) (Process Async)) (`` (implementation - (~~ (template [<method>] + (~~ (with_template [<method>] [(def: <method> (|>> (at process <method>) async.future))] @@ -245,7 +245,7 @@ java/io/BufferedReader::new)]] (in (is (Process IO) (`` (implementation - (~~ (template [<name> <stream>] + (~~ (with_template [<name> <stream>] [(def: (<name> _) (do ! [output (java/io/BufferedReader::readLine <stream>)] @@ -261,7 +261,7 @@ )) (def: (write message) (java/io/OutputStream::write (at utf8.codec encoded message) jvm_output)) - (~~ (template [<name> <method>] + (~~ (with_template [<name> <method>] [(def: (<name> _) (|> process <method>))] @@ -327,7 +327,7 @@ (`` (implementation: (mock_process state mock) (All (_ s) (-> (Atom s) (Mock s) (Process IO))) - (~~ (template [<name> <mock>] + (~~ (with_template [<name> <mock>] [(def: (<name> _) (do [! io.monad] [|state| (atom.read! state)] |