summaryrefslogtreecommitdiff
path: root/src/GeneratorTest.hs
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2014-04-08 15:06:40 +1000
committerJed Barber <jjbarber@y7mail.com>2014-04-08 15:06:40 +1000
commit03d38eb3190eb5e51fb18847fe0792013285bde5 (patch)
tree1060d26d3042b5c0c5b1c027fac45fe87f3d685a /src/GeneratorTest.hs
parentf2c4e4614613ede497f19ef79dc7dc157eaca834 (diff)
Reorganising source code
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