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.lux6
1 files changed, 5 insertions, 1 deletions
diff --git a/stdlib/source/lux/language/compiler/extension/bundle.lux b/stdlib/source/lux/language/compiler/extension/bundle.lux
index 315d05523..222ad7f5e 100644
--- a/stdlib/source/lux/language/compiler/extension/bundle.lux
+++ b/stdlib/source/lux/language/compiler/extension/bundle.lux
@@ -20,9 +20,13 @@
(ex.report ["Extension" name]))
## [Utils]
+(def: #export empty
+ //.Bundle
+ (dict.new text.Hash<Text>))
+
(def: #export (install name anonymous)
(All [s i o]
- (-> Text (-> Text (//.Handler s i o))
+ (-> Text (//.Handler s i o)
(-> (//.Bundle s i o) (//.Bundle s i o))))
(dict.put name anonymous))