1 {-# OPTIONS -fglasgow-exts #-}
3 -- !!! Check that record selectors for polymorphic fields work right
12 instance Foo Int where
15 instance Foo Bool where
19 blub :: Foo a => a -> [a]
22 main = do { let r = R {blub = bar}
23 ; print (blub r (3::Int))