HaRe-0.8.0.0: test/testdata/TypeUtils/S.hs
module TypeUtils.S where
-- Test for refactor of if to case
foo x = if (odd x) then "Odd" else "Even"
data D = A | B String | C
subdecl x = zz x
where
zz n = n + 1
module TypeUtils.S where
-- Test for refactor of if to case
foo x = if (odd x) then "Odd" else "Even"
data D = A | B String | C
subdecl x = zz x
where
zz n = n + 1