aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/language/compiler/extension/bundle.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/language/compiler/extension/bundle.lux')
-rw-r--r--stdlib/source/lux/language/compiler/extension/bundle.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/lux/language/compiler/extension/bundle.lux b/stdlib/source/lux/language/compiler/extension/bundle.lux
index 222ad7f5e..dce95cfb1 100644
--- a/stdlib/source/lux/language/compiler/extension/bundle.lux
+++ b/stdlib/source/lux/language/compiler/extension/bundle.lux
@@ -9,7 +9,7 @@
[collection
[list ("list/" Functor<List>)]
["dict" dictionary (#+ Dictionary)]]]]
- [//])
+ [// (#+ Handler Bundle)])
(exception: #export (incorrect-arity {name Text} {arity Nat} {args Nat})
(ex.report ["Extension" (%t name)]
@@ -21,18 +21,18 @@
## [Utils]
(def: #export empty
- //.Bundle
+ Bundle
(dict.new text.Hash<Text>))
(def: #export (install name anonymous)
(All [s i o]
- (-> Text (//.Handler s i o)
- (-> (//.Bundle s i o) (//.Bundle s i o))))
+ (-> Text (Handler s i o)
+ (-> (Bundle s i o) (Bundle s i o))))
(dict.put name anonymous))
(def: #export (prefix prefix)
(All [s i o]
- (-> Text (-> (//.Bundle s i o) (//.Bundle s i o))))
+ (-> Text (-> (Bundle s i o) (Bundle s i o))))
(|>> dict.entries
(list/map (function (_ [key val]) [(format prefix " " key) val]))
(dict.from-list text.Hash<Text>)))