2 ms·
Or, use Maybe/Option and have as many levels of nonexistence as you want. Option[Option[Option[T]]] Not that it would necessarily be very useful, but choo
by paulddraper 7y ago
Or, use Maybe/Option and have as many levels of nonexistence as you want.
Option[Option[Option[T]]]
Not that it would necessarily be very useful, but choosing 2 values of nonexistence is very arbitrary.
Usually zero or one level of nonexistence is enough.