diff options
Diffstat (limited to 'new-luxc/source/luxc/lang')
-rw-r--r-- | new-luxc/source/luxc/lang/extension.lux | 10 |
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>] |