1 {-# OPTIONS -fglasgow-exts #-}
3 -- !!! Test monomorphism + RULES
5 module ShouldCompile where
7 -- This example crashed GHC 4.08.1.
8 -- The reason was that foobar is monomorphic, so the RULE
9 -- should not generalise over it.
17 "foo/bar" foo bar = foobar