It’s a new design for Option<Option<A>&gt...
# coroutines
p
It’s a new design for Option<Option<A>> when a field is uninitialized 😄 https://twitter.com/pacoworks/status/1102245367809220608
Copy code
var accumulator: Any? = NullSurrogate

 internal fun <T> unbox(value: Any?): T = if (value === NullSurrogate) null as T else value as T
Very performant reference comparison.