aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/meta/extension.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-10-21 14:37:09 -0400
committerEduardo Julian2022-10-21 14:37:09 -0400
commit74e8954ee269aa5dea39f1e4e3c55e8d387384a8 (patch)
tree2e29609e1c57a130c5a7851db67426bb9feebcbc /stdlib/source/library/lux/meta/extension.lux
parent07d346632a6aff8ce2b66b39b818c298de48df5a (diff)
Clean-up after format change for extensions [part 2]
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/meta/extension.lux14
1 files changed, 6 insertions, 8 deletions
diff --git a/stdlib/source/library/lux/meta/extension.lux b/stdlib/source/library/lux/meta/extension.lux
index a713dd596..913acaec9 100644
--- a/stdlib/source/library/lux/meta/extension.lux
+++ b/stdlib/source/library/lux/meta/extension.lux
@@ -43,21 +43,19 @@
(with_template [<any> <end> <and> <result> <name> <extension_type> <handler_type>]
[(def .public <name>
- (syntax (_ [[handler extension phase archive inputs] (<c>.form (all <>.and
- <c>.local
- <c>.local
- <c>.local
- <c>.local
- (<c>.tuple (<>.some <c>.any))))
+ (syntax (_ [[handler phase archive inputs] (<c>.form (all <>.and
+ <c>.local
+ <c>.local
+ <c>.local
+ (<c>.tuple (<>.some <c>.any))))
body <c>.any])
(let [g!handler (code.local handler)
- g!name (code.local extension)
g!phase (code.local phase)
g!archive (code.local archive)]
(with_symbols [g!inputs g!error g!_]
(in (list (` (<| (as <extension_type>)
(is <handler_type>)
- (.function ((, g!handler) (, g!name) (, g!phase) (, g!archive) (, g!inputs))
+ (.function ((, g!handler) (, g!phase) (, g!archive) (, g!inputs))
(.when (<result>
(monad.do <>.monad
[(,* inputs)