
15 Jan
2007
15 Jan
'07
4:16 a.m.
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@Constructor1{} = ... myFunction x@Constructor2{} = ... this works even for non-record types