[Haskell-beginners] (Implicit) equality testing using multiple function definitions

David Place d at vidplace.com
Tue Jul 19 03:23:01 CEST 2011


On Jul 18, 2011, at 9:05 PM, Arlen Cuss wrote:

> My take on this (may not be canonical, or even right!) is that pattern
> matching is matching on the shape of the object. 

Perhaps we could say that pattern matching implements Structural Induction rather than set equality.

> http://en.wikipedia.org/wiki/Structural_induction

____________________
David Place   
Owner, Panpipes Ho! LLC
http://panpipesho.com
d at vidplace.com






More information about the Beginners mailing list