diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/test1.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/test1.hs b/examples/test1.hs new file mode 100644 index 0000000..083a876 --- /dev/null +++ b/examples/test1.hs @@ -0,0 +1,8 @@ +data Tree a + = Node (Tree a) a (Tree a) + | Leaf + +foo = 1 +bar = 1 + 2 +f x = x * 3 +g y = f (y - 2) + 7 |