aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/control/function/mutual.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/control/function/mutual.lux')
-rw-r--r--stdlib/source/library/lux/control/function/mutual.lux22
1 files changed, 11 insertions, 11 deletions
diff --git a/stdlib/source/library/lux/control/function/mutual.lux b/stdlib/source/library/lux/control/function/mutual.lux
index ba9da195e..02f5eaabb 100644
--- a/stdlib/source/library/lux/control/function/mutual.lux
+++ b/stdlib/source/library/lux/control/function/mutual.lux
@@ -47,8 +47,8 @@
(.def: (macro g!context g!self)
(-> Code Code Macro)
- (<| (:as Macro)
- (: Macro')
+ (<| (as Macro)
+ (is Macro')
(function (_ parameters)
(# meta.monad in (list (` (((~ g!self) (~ g!context)) (~+ parameters))))))))
@@ -60,9 +60,9 @@
{.#Item mutual {.#End}}
(.let [g!name (|> mutual (the [#declaration declaration.#name]) code.local_symbol)]
- (in (list (` (.let [(~ g!name) (: (~ (the #type mutual))
- (function (~ (declaration.format (the #declaration mutual)))
- (~ (the #body mutual))))]
+ (in (list (` (.let [(~ g!name) (is (~ (the #type mutual))
+ (function (~ (declaration.format (the #declaration mutual)))
+ (~ (the #body mutual))))]
(~ body))))))
_
@@ -84,9 +84,9 @@
(..macro g!context g!name)])
(list.zipped/2 hidden_names
functions)))]
- (in (list (` (.let [(~ g!context) (: (Rec (~ g!context)
- [(~+ context_types)])
- [(~+ definitions)])
+ (in (list (` (.let [(~ g!context) (is (Rec (~ g!context)
+ [(~+ context_types)])
+ [(~+ definitions)])
[(~+ user_names)] (.let [[(~+ user_names)] (~ g!context)]
[(~+ (list#each (function (_ g!name)
(` ((~ g!name) (~ g!context))))
@@ -138,9 +138,9 @@
functions)))]
(in (list& (` (.def: (~ g!context)
[(~+ (list#each (the [#mutual #type]) functions))]
- (.let [(~ g!context) (: (Rec (~ g!context)
- [(~+ context_types)])
- [(~+ definitions)])
+ (.let [(~ g!context) (is (Rec (~ g!context)
+ [(~+ context_types)])
+ [(~+ definitions)])
[(~+ user_names)] (~ g!context)]
[(~+ (list#each (function (_ g!name)
(` ((~ g!name) (~ g!context))))