
28 Feb
2010
28 Feb
'10
5:21 p.m.
On 28 February 2010 05:55, Andrew Coppin
It won't work for arbitrarily complex structures, however. My main point was that if you make the constructors abstract and provide functions to query the structure, now you can't pattern match against it.
We do, however, have guards which helps reduce the boiler plate (nested if statements, etc.). -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com