Thank you.
6 karma · joined June 22, 2016
I have a question regarding slides 29 to 31.
The author says an untyped tree is represented as Tree[Nothing]. This leads to undesired variance behavior which is in turn overriden.
But there cannot be any instances of type Tree[Nothing] because there are no instances of type Nothing. Wouldn't an untyped tree be better represented as Tree[Unit]?