Hi all, A lot of things posted here I wasn't aware of. My original example involved ~(x,y), so, returning to that context, how would these two simple cases vary: add2 :: (Int,Int) -> Int add2 (x,y) = x+y add2 :: (Int,Int) -> Int add2 ~(x,y) = x+y I guess what I'm looking for is the concept that would dictate choosing one over the other. Thanks, Michael --- On Mon, 11/30/09, Daniel Fischer <daniel.is.fischer@web.de> wrote:
|