summaryrefslogtreecommitdiff
path: root/src/Type.idr
diff options
context:
space:
mode:
authorChloe Brown <chloe.brown.00@outlook.com>2023-06-16 15:06:59 +0100
committerChloe Brown <chloe.brown.00@outlook.com>2023-06-16 15:06:59 +0100
commit5adc1ae9357e42937a601aab57d16b2190e10536 (patch)
tree219b0bac7058abd55729990536fb93cecda7cc7b /src/Type.idr
parentf910e142ce7c10f8244ecfa40e41756fb8c8a53f (diff)
Reset using only co-de Bruijn syntax.
Diffstat (limited to 'src/Type.idr')
-rw-r--r--src/Type.idr10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Type.idr b/src/Type.idr
new file mode 100644
index 0000000..12c0a74
--- /dev/null
+++ b/src/Type.idr
@@ -0,0 +1,10 @@
+module Type
+
+infix 4 ~>
+
+public export
+data Ty : Type where
+ N : Ty
+ (~>) : Ty -> Ty -> Ty
+
+%name Ty ty