summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_compile/3579.hs
blob: 29711e147bb1fafe9c98f697b33a7cb396eeee47 (plain)
1
2
3
4
5
6
7
module Bug where

compose :: [a -> a] -> a -> a
compose =  foldr (.) id

class Compose a where
    compose1 :: a -> a -> a