The value a result holds, or the supplied default.
247def stdResultValueOr =
248 (lambda erased errorType : Type 0 .
249 erased valueType : Type 0 .
250 unrestricted fallback : valueType .
251 unrestricted value : (family StdResult errorType valueType) .
252 eliminate
253 StdResult
254 (lambda unrestricted current : (family StdResult errorType valueType) . valueType)
255 value
256 (branch StdFailure held . fallback)
257 (branch StdSuccess held . held))The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.