aboutsummaryrefslogtreecommitdiff
path: root/examples/test1.hs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/test1.hs')
-rw-r--r--examples/test1.hs8
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