aboutsummaryrefslogtreecommitdiff
path: root/src/CHAD/Example/Types.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-11-10 21:49:45 +0100
committerTom Smeding <tom@tomsmeding.com>2025-11-10 21:50:25 +0100
commit174af2ba568de66e0d890825b8bda930b8e7bb96 (patch)
tree5a20f52662e87ff7cf6a6bef5db0713aa6c7884e /src/CHAD/Example/Types.hs
parent92bca235e3aaa287286b6af082d3fce585825a35 (diff)
Move module hierarchy under CHAD.
Diffstat (limited to 'src/CHAD/Example/Types.hs')
-rw-r--r--src/CHAD/Example/Types.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/CHAD/Example/Types.hs b/src/CHAD/Example/Types.hs
new file mode 100644
index 0000000..1e2f72d
--- /dev/null
+++ b/src/CHAD/Example/Types.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE DataKinds #-}
+module CHAD.Example.Types where
+
+import CHAD.AST
+import CHAD.Data
+
+
+type R = TScal TF64
+type I64 = TScal TI64
+type TVec = TArr (S Z)
+type TMat = TArr (S (S Z))