The value a result holds, or the supplied default.
254def stdResultValueOr =
255 (lambda erased errorType : Type 0 .
256 (lambda erased valueType : Type 0 .
257 (lambda unrestricted fallback : valueType .
258 (lambda unrestricted value : (family StdResult errorType valueType) .
259 (eliminate
260 StdResult
261 (lambda unrestricted current : (family StdResult errorType valueType) . valueType)
262 value
263 (branch StdFailure held . fallback)
264 (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.