diff options
-rw-r--r-- | stdlib/source/lux.lux | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/stdlib/source/lux.lux b/stdlib/source/lux.lux index 6b68b9f29..51dff8142 100644 --- a/stdlib/source/lux.lux +++ b/stdlib/source/lux.lux @@ -6046,6 +6046,11 @@ (do Monad<Meta> [pattern (untemplate-pattern template)] (wrap (list& pattern body branches))) - + + (^ (list template)) + (do Monad<Meta> + [pattern (untemplate-pattern template)] + (wrap (list pattern))) + _ (fail "Wrong syntax for ^code"))) |