Scala中None, Nil, Nothing的区别

Nil是一个空的List

None是一个object,是Option的子类型

List[Nothing]
原文地址:https://www.cnblogs.com/ayning/p/5669794.html