aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/language/compiler/analysis/module.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/language/compiler/analysis/module.lux')
-rw-r--r--stdlib/source/lux/language/compiler/analysis/module.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/lux/language/compiler/analysis/module.lux b/stdlib/source/lux/language/compiler/analysis/module.lux
index 2a2aef5c3..bdc4abf05 100644
--- a/stdlib/source/lux/language/compiler/analysis/module.lux
+++ b/stdlib/source/lux/language/compiler/analysis/module.lux
@@ -102,7 +102,7 @@
[]])))))
(def: #export (exists? module)
- (-> Text (Operation Bool))
+ (-> Text (Operation Bit))
(extension.lift
(function (_ state)
(|> state
@@ -173,7 +173,7 @@
((///.throw unknown-module module-name) state)))))
(def: #export (<asker> module-name)
- (-> Text (Operation Bool))
+ (-> Text (Operation Bit))
(extension.lift
(function (_ state)
(case (|> state (get@ #.modules) (plist.get module-name))
@@ -203,8 +203,8 @@
#.None
((///.throw unknown-module module-name) state)))))]
- [tags #.tags (List [Text [Nat (List Ident) Bool Type]])]
- [types #.types (List [Text [(List Ident) Bool Type]])]
+ [tags #.tags (List [Text [Nat (List Ident) Bit Type]])]
+ [types #.types (List [Text [(List Ident) Bit Type]])]
[hash #.module-hash Nat]
)
@@ -224,7 +224,7 @@
(wrap [])))
(def: #export (declare-tags tags exported? type)
- (-> (List Tag) Bool Type (Operation Any))
+ (-> (List Tag) Bit Type (Operation Any))
(do ///.Monad<Operation>
[self-name (extension.lift macro.current-module-name)
[type-module type-name] (case type