You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 5.4, we create a generic PK[A]. We say the general point is you have the whole of the Scala type system, but we should probably flag the issues of PK[A].
In 5.4, we create a generic
PK[A]
. We say the general point is you have the whole of the Scala type system, but we should probably flag the issues ofPK[A]
.For example, if you try to do an OO-style:
...you'll have problems because both methods will be erased to the same signature.
(Less so with a type-class approach, but we're giving examples here, not stating a best practice).
The text was updated successfully, but these errors were encountered: