Source/Packages

Std.Word

packages/foundation/standard/src/Std/Word.alpha

1,783 lines192 declarations64.2 KiBSHA-256 27bf8c3f30ee

def · lines 948–956

stdU32ReadValueOr

Full file
answers of the owner's result families under the vocabulary: value-or, remaining input (empty on failure), and a failed flag (1 = failed)
948def stdU32ReadValueOr =
949  (lambda unrestricted fallback : (family ModelWord32) .
950    (lambda unrestricted result : (family DataBytesWord32DecodeResult) .
951      (eliminate
952        DataBytesWord32DecodeResult
953        (lambda unrestricted current : (family DataBytesWord32DecodeResult) . (family ModelWord32))
954        result
955        (branch DataBytesWord32Decoded value remaining . value)
956        (branch DataBytesWord32DecodeFailed code . fallback))))

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.