Source/Packages

Std.Word

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

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

def · lines 1175–1183

stdDivisionFailureBytes

Full file
The failure's code bytes, or empty bytes when the division succeeded.
1175def stdDivisionFailureBytes =
1176  (lambda erased word : Type 0 .
1177    (lambda unrestricted result : (family StdDivision word) .
1178      (eliminate
1179        StdDivision
1180        (lambda unrestricted current : (family StdDivision word) . Bytes)
1181        result
1182        (branch StdDivisionSucceeded quotient remainder . b"")
1183        (branch StdDivisionFailed error . (stdDivisionErrorCodeBytes error)))))

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.