Re:Another Scala rant on HN
by octo_t on Tuesday December 03, 2013 @05:43AM
(#6839574)
So as i understand it the 'use case' is for coercing 3rd party types into your own type hierarchy. Suppose you had:
and 3rd party library had
you could simply define your methods to take in a:
But obviously if the library class is not final, you can simply do:
[ Parent
| on HN ]
There are no comments on this comment yet.