aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/BundledPatterns2.hs
diff options
context:
space:
mode:
Diffstat (limited to 'html-test/src/BundledPatterns2.hs')
-rw-r--r--html-test/src/BundledPatterns2.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/html-test/src/BundledPatterns2.hs b/html-test/src/BundledPatterns2.hs
new file mode 100644
index 00000000..5e9a83a7
--- /dev/null
+++ b/html-test/src/BundledPatterns2.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE DataKinds, GADTs, KindSignatures, PatternSynonyms, TypeOperators,
+ ViewPatterns #-}
+module BundledPatterns2 (Vec((:>), Empty), RTree(..)) where
+
+import GHC.TypeLits
+
+import BundledPatterns
+
+pattern Empty :: Vec 0 a
+pattern Empty <- Nil