[Haskell-cafe] Re: Newbie question
Bulat Ziganshin
bulat.ziganshin at gmail.com
Tue Jan 22 09:00:36 EST 2008
Hello Jon,
Tuesday, January 22, 2008, 1:04:48 PM, you wrote:
>> i.e. you should have other functions that produce A from Integer and
>> at the last end this means that class A should provide some way to
>> do it
> I'm not sure we're using the same terminology. In the
> example I gave, the class A doesn't provide anything from
> Integer to a, unless defining an overloaded function outside
> the class definition counts as the class providing something.
you are perfectly right. but don't forget that this is not theoretical
discussion but *newbie* question so i hope that my answer is just what
he try to realize. anyway, he got them both
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe
mailing list