On 18/07/2011 13:52, Ketil Malde wrote:
> I'm not sure the question makes sense, if "fly" is a method of class
> Bird, then it can't also be a member of class Penguin.

I am actually doing a language comparison and I was checking out a paper
that said:
"Type classes allow for partial inheritance, so that penguins can be
birds without flying behavior."
My question is concerned with the language constructs to do this rather
than the semantic validity or desirability of such construct.

But as pointed out by Jerzy my question is silly because can penguins
can fly:
On 17/07/2011 11:14, Jerzy Karczmarczuk wrote:
>> PS. Penguins DO fly.
>> http://www.telegraph.co.uk/news/worldnews/1583517/Flying-penguins-found-by-BBC-programme.html
>> 
> 



This message has been scanned for content and viruses by the DIT Information 
Services E-Mail Scanning Service, and is believed to be clean. http://www.dit.ie

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

Reply via email to