[Haskell-cafe] Having trouble with instance context

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Wed Feb 23 03:19:07 CET 2011


On 23 February 2011 13:10, Kurt Stutsman <kstutsman at gmail.com> wrote:
> I am trying to create an instance of a class for data types deriving from
> Enum. When I try to specify this through a context on the instance
> definition, I get an error. When I do something similar with a function, it
> seems to work fine. Why does the instance not work?

What's the error?

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com



More information about the Haskell-Cafe mailing list