summaryrefslogtreecommitdiff
path: root/tests/examples/transform/AddDecl.hs
blob: 803129ea876be3c744d66e0269b6b87d33c010a0 (plain)
1
2
3
4
5
6
7
8
9
module AddDecl where

-- Adding a declaration to an existing file

-- | Do foo
foo a b = a + b

-- | Do bar
bar x y = foo (x+y) x