[Haskell-cafe] view patterns

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Nov 5 02:55:33 EST 2008


Hello Cetin,

Wednesday, November 5, 2008, 8:34:14 AM, you wrote:

>  let emp (has -> True) = False; emp (has -> False) = True

>      Warning: Pattern match(es) are overlapped

proibably it's because GHC can't check view patterns for overlaps?

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list