aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/pattern.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--new-luxc/source/luxc/lang/pattern.lux15
1 files changed, 15 insertions, 0 deletions
diff --git a/new-luxc/source/luxc/lang/pattern.lux b/new-luxc/source/luxc/lang/pattern.lux
new file mode 100644
index 000000000..a0077133b
--- /dev/null
+++ b/new-luxc/source/luxc/lang/pattern.lux
@@ -0,0 +1,15 @@
+(;module:
+ lux)
+
+(type: #export #rec Pattern
+ (#Ref Nat)
+ #Unit
+ (#Bool Bool)
+ (#Nat Nat)
+ (#Int Int)
+ (#Deg Deg)
+ (#Real Real)
+ (#Char Char)
+ (#Text Text)
+ (#Tuple (List Pattern))
+ (#Variant [Nat Nat] Pattern))