blob: 052d0ab979f4a7847839f470519cc9675fdabfc3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
{-# LANGUAGE MultiParamTypeClasses, FlexibleContexts #-}
module ShouldFail where
class C a b where { op :: a -> b }
g a = get (op a)
get :: (u,v,w,x,y,z) -> u
get (u,_,_,_,_,_) = u
|