summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore/should_compile/T19672.hs
blob: e1f70f2b435e89563ebbcc1fcb1b4c8dbd095a56 (plain)
1
2
3
4
5
6
7
module Foo where

wimwam :: [a] -> Int -> Int
wimwam []     x = x
wimwam (y:ys) x = wimwam ys 0

bar xs = map (wimwam [True]) xs