[Haskell-beginners] Constructor classes and type classes.

PATRICK BROWNE patrick.browne at dit.ie
Mon Oct 31 14:41:17 UTC 2016


My intended use of the term 'subclass' is as the Haskell report:
<https://www.haskell.org/onlinereport/basic.html>
"class Num of numeric types is a subclass of Eq, since all numbers may be
compared for equality"
Of course what I have written may not be consistent with the report.
Regards,
Pat

On 31 October 2016 at 09:26, Imants Cekusins <imantc at gmail.com> wrote:

> HelloPat,
>
> I am not sure if terms *superclass* and *subclass* are applicable to
> Haskell classes.
>
> Haskell class is very different from Java class. It is more like an
> interface.
>
> ;)
>>

-- 


This email originated from DIT. If you received this email in error, please 
delete it from your system. Please note that if you are not the named 
addressee, disclosing, copying, distributing or taking any action based on 
the contents of this email or attachments is prohibited. www.dit.ie

Is ó ITBÁC a tháinig an ríomhphost seo. Má fuair tú an ríomhphost seo trí 
earráid, scrios de do chóras é le do thoil. Tabhair ar aird, mura tú an 
seolaí ainmnithe, go bhfuil dianchosc ar aon nochtadh, aon chóipeáil, aon 
dáileadh nó ar aon ghníomh a dhéanfar bunaithe ar an ábhar atá sa 
ríomhphost nó sna hiatáin seo. www.dit.ie

Tá ITBÁC ag aistriú go Gráinseach Ghormáin – DIT is on the move to 
Grangegorman <http://www.dit.ie/grangegorman>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20161031/dcfab1ca/attachment.html>


More information about the Beginners mailing list