aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/control/io.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/control/io.lux11
1 files changed, 6 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/control/io.lux b/stdlib/source/library/lux/control/io.lux
index ac513fc05..ef5e9eecf 100644
--- a/stdlib/source/library/lux/control/io.lux
+++ b/stdlib/source/library/lux/control/io.lux
@@ -11,7 +11,7 @@
[type
[primitive (.except)]]
[macro (.only with_symbols)
- [syntax (.only syntax:)]
+ [syntax (.only syntax)]
["[0]" template]]]])
(primitive: .public (IO a)
@@ -31,10 +31,11 @@
... creatio ex nihilo
[((representation io) [])])
- (syntax: .public (io [computation <code>.any])
- (with_symbols [g!func g!arg]
- (in (list (` ((~! ..label) (function ((~ g!func) (~ g!arg))
- (~ computation))))))))
+ (def: .public io
+ (syntax (_ [computation <code>.any])
+ (with_symbols [g!func g!arg]
+ (in (list (` ((~! ..label) (function ((~ g!func) (~ g!arg))
+ (~ computation)))))))))
(def: .public run!
(All (_ a) (-> (IO a) a))