[Haskell-cafe] case switch covering all possible constructor but still fails

Niklas Larsson metaniklas at gmail.com
Sat Apr 13 12:06:46 CEST 2013


>
> What I do not understand: The case switch covers all possibilities of
> AltCon. So how can this happen?
>
>
There is a guard on the DataAlt case so all alternatives doesn't have to be
covered.

-- Niklas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130413/61b851a4/attachment.htm>


More information about the Haskell-Cafe mailing list