On 28 February 2010 05:55, Andrew Coppin <andrewcop...@btinternet.com> wrote:
> 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.miljeno...@gmail.com
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to