aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source
diff options
context:
space:
mode:
authorEduardo Julian2018-01-28 20:37:28 -0400
committerEduardo Julian2018-01-28 20:37:28 -0400
commitcdb310ae9918b7887f3b0c00916e26a30be57e0d (patch)
tree3fc5931f75122c5f5912f7a18d7be561596ef45a /new-luxc/source
parent6b6901b31bbec9947522a94274cd11c8e7683168 (diff)
- Got the tests to build again.
Diffstat (limited to 'new-luxc/source')
-rw-r--r--new-luxc/source/luxc/lang/extension.lux10
1 files changed, 7 insertions, 3 deletions
diff --git a/new-luxc/source/luxc/lang/extension.lux b/new-luxc/source/luxc/lang/extension.lux
index ff3a4d24e..c5e6a8e25 100644
--- a/new-luxc/source/luxc/lang/extension.lux
+++ b/new-luxc/source/luxc/lang/extension.lux
@@ -79,13 +79,17 @@
[find-statement Statement #statement Unknown-Statement]
)
-(do-template [<name> <type> <category>]
- [(def: #export <name>
+(do-template [<no> <all> <type> <category> <empty>]
+ [(def: #export <no>
+ <type>
+ <empty>)
+
+ (def: #export <all>
(Meta <type>)
(|> ..get
(:: macro.Monad<Meta> map (get@ <category>))))]
- [all-syntheses (Dict Text Synthesis) #synthesis]
+ [no-syntheses all-syntheses Syntheses #synthesis (dict.new text.Hash<Text>)]
)
(do-template [<name> <type> <category> <exception>]