This message was deleted.
# stdlib
s
This message was deleted.
i
An interesting idea. Do you think there are many cases where
Nothing?
is used and where
Null
would be more expressive?
It's interesting to consider what is primary and what is derivative. E.g.
Null
can be a typealias to
Nothing?
, and
Nothing?
can be considered as a union of
Nothing | Null
Though at this point, introducing
Null
identifier in a package imported by default would be rather disturbing. There can be objects named
Null
(https://github.com/pact-foundation/pact-jvm/blob/7cd4ff4d3be7f8e4a3534ae67c3ef18d0b998dc8/core/support/src/main/kotlin/au/com/dius/pact/core/support/json/JsonValue.kt#L41) and they can lead to a conflict or confusion when being in scope with the
Null
typealias.