aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/world/shell.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/world/shell.lux')
-rw-r--r--stdlib/source/library/lux/world/shell.lux10
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)]