2010/5/21 R J <[email protected]>:
> I'd like to make "Day" an instance of class "Enum," but the definition of
> toEnum below seems to be completely wrong, because integers seem not permit
> pattern matching.  How is toEnum defined?  Thanks.

Hi,

What error are you getting when you try your class instance?

Thanks,
Antoine
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to