A
A
Andrey Kondratiev2015-10-14 06:59:02
Scala
Andrey Kondratiev, 2015-10-14 06:59:02

Do you have any examples of using contravariance in your Scala code?

I generally understood what Contravariance is, but I need some practical example to remember this business. Preferably something with a simple and clear hierarchy.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question