aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-06-16 21:37:38 -0400
committerEduardo Julian2022-06-16 21:37:38 -0400
commit7249707e7c09be68dfb7507ba363efd3300a0141 (patch)
tree1fb4764458da16353315ea7e267f997c9be70f49 /stdlib/source/library/lux.lux
parente00e0b5f1e5fb509cf8f32424397110f524b8148 (diff)
De-sigil-ification: suffix : [Part 14]
Diffstat (limited to 'stdlib/source/library/lux.lux')
-rw-r--r--stdlib/source/library/lux.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux.lux b/stdlib/source/library/lux.lux
index 28507c829..41f6ab0ed 100644
--- a/stdlib/source/library/lux.lux
+++ b/stdlib/source/library/lux.lux
@@ -4182,7 +4182,7 @@
_
(failure (all text#composite
- "Can only 'open:' structs: " (symbol#encoded implementation)
+ "Can only 'use' structs: " (symbol#encoded implementation)
" : " (type#encoded interface))))))
(def (localized module global)
@@ -4194,7 +4194,7 @@
_
global))
-(def .public open:
+(def .public use
(macro (_ tokens)
(case (..parsed (all ..andP
(..maybeP (all ..andP
@@ -4240,7 +4240,7 @@
implementations))
.let [[pre_defs implementations] pre_defs,implementations]]
(in (|> pre_defs
- {#Item (` (..open:
+ {#Item (` (..use
(~ (text$ current_module))
(~ (text$ imported_module))
(~ (text$ import_alias))
@@ -4250,7 +4250,7 @@
{.#None}
- (failure (..wrong_syntax_error (symbol ..open:))))))
+ (failure (..wrong_syntax_error (symbol ..use))))))
(def (imported_by? import_name module_name)
(-> Text Text (Meta Bit))
@@ -5021,7 +5021,7 @@
(` ((~ (symbol$ macro)) (~+ parameters))))
referrals)))))
-(def .public using
+(def .public require
(macro (_ _imports)
(do meta#monad
[current_module ..current_module_name