aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux.lux')
-rw-r--r--stdlib/source/library/lux.lux14
1 files changed, 9 insertions, 5 deletions
diff --git a/stdlib/source/library/lux.lux b/stdlib/source/library/lux.lux
index 249e77569..0d3c3c837 100644
--- a/stdlib/source/library/lux.lux
+++ b/stdlib/source/library/lux.lux
@@ -5878,8 +5878,12 @@
_
(failure (..wrong_syntax_error (symbol ..Rec)))))))
-(def .public Synthesis
- (Primitive "#Synthesis"))
-
-(def .public Generation
- (Primitive "#Generation"))
+(with_template [<type>]
+ [(def .public <type>
+ (let [[_ short] (symbol <type>)]
+ {.#Primitive (text#composite "#" short) (list)}))]
+
+ [Analysis]
+ [Synthesis]
+ [Generation]
+ )