summaryrefslogtreecommitdiff
path: root/src/GeneratorTest.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneratorTest.hs')
-rw-r--r--src/GeneratorTest.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/GeneratorTest.hs b/src/GeneratorTest.hs
new file mode 100644
index 0000000..419e904
--- /dev/null
+++ b/src/GeneratorTest.hs
@@ -0,0 +1,10 @@
+import Library.Parse
+import Library.Generator
+import Library.Term
+import Library.TypeVar
+
+
+main = do
+ let s = substitutionGen ([],[])
+ let t = substitutionGen ( [(Name [] "tyvar", AType [] (TypeOp (Name [] "atype")))], [] )
+ output t