[Haskell-cafe] Error I haven't seen before

Jefferson Heard jefferson.r.heard at gmail.com
Thu Feb 28 21:37:24 EST 2008


It does.  Thank you...

On Thu, Feb 28, 2008 at 5:00 PM, Albert Y. C. Lai <trebla at vex.net> wrote:

> Jefferson Heard wrote:
> > Main: No match in record selector Protein.go_terms
>
> data R = A { sa :: Int } | B { sb :: Int }
>
> sa (A 0) works (as expected). sa (B 0) gives
>
> *** Exception: No match in record selector Main.sa
>
> I think that explains your problem.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
I try to take things like a crow; war and chaos don't always ruin a picnic,
they just mean you have to be careful what you swallow.

-- Jessica Edwards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080228/35d0696f/attachment.htm


More information about the Haskell-Cafe mailing list