3 ms·
I don't think typeclasses were in from day one, they were added quite late in the development of the language (but some years before H98). I don't think they'r
by calpaterson 15y ago
I don't think typeclasses were in from day one, they were added quite late in the development of the language (but some years before H98). I don't think they're in Miranda, for example.
Here's a paper introducing them.
http://dl.acm.org/citation.cfm?id=227700 http://dl.acm.org/citation.cfm?id=227700
- yummyfajitas 15y agoI stand corrected. I guess Haskell before H98 was a very different language than it is today.
- SamReidHughes 15y agoType classes were in Haskell 1.0. See http://webcache.googleusercontent.com/search?q=cache:rtFsiQCtqxYJ:www.haskell.org/definition/haskell-report-1.0.ps.gz+&cd=2&hl=en&ct=clnk&gl=us http://webcache.googleusercontent.com/search?q=cache:rtFsiQC...