From c7d3f7662fb9c7bb86ab1270e9f74de6d08876fa Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Fri, 14 Sep 2012 10:19:55 +1000 Subject: Misc test files --- GeneratorTest.hs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 GeneratorTest.hs (limited to 'GeneratorTest.hs') diff --git a/GeneratorTest.hs b/GeneratorTest.hs new file mode 100644 index 0000000..419e904 --- /dev/null +++ b/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 -- cgit