On Mon, Jan 15, 2007 at 10:09:10AM +0100, Stefan Aeschbacher wrote: > Hi > > I sometimes have a function definition similar to this: > > myFunction x@(Constructor1 _ _ _ _ _ _) = ... > myFunction x@(Constructor2 _ _ _ _ _ _ _ _) = ... myFunction x at Constructor1{} = ... myFunction x at Constructor2{} = ... this works even for non-record types