aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/type/abstract.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/type/abstract.lux3
1 files changed, 3 insertions, 0 deletions
diff --git a/stdlib/source/lux/type/abstract.lux b/stdlib/source/lux/type/abstract.lux
index a8be42a00..ccb6b9e18 100644
--- a/stdlib/source/lux/type/abstract.lux
+++ b/stdlib/source/lux/type/abstract.lux
@@ -196,6 +196,9 @@
primitives
(list (` ((~! ..pop!)))))))))
+(syntax: #export (:transmutation value)
+ (wrap (list (` (..:abstraction (..:representation (~ value)))))))
+
(syntax: #export (^:representation {name (s.form s.local-identifier)}
body
{branches (p.some s.any)})