Source/Packages

Data.UTF8

packages/foundation/standard/src/Data/UTF8.alpha

1,298 lines193 declarations53.6 KiBSHA-256 4bef3dfd330d

def · lines 1025–1040

utf8ErrorStableCode

Full file
1025def utf8ErrorStableCode =
1026  (lambda unrestricted code : (family UTF8ErrorCode) .
1027    (eliminate
1028      UTF8ErrorCode
1029      (lambda unrestricted current : (family UTF8ErrorCode) . Bytes)
1030      code
1031      (branch UTF8UnexpectedContinuation . b"UTF8-E001")
1032      (branch UTF8InvalidLeadingByte . b"UTF8-E002")
1033      (branch UTF8ContinuationMissing . b"UTF8-E003")
1034      (branch UTF8ContinuationInvalid . b"UTF8-E004")
1035      (branch UTF8TwoByteOverlong . b"UTF8-E005")
1036      (branch UTF8ThreeByteOverlong . b"UTF8-E006")
1037      (branch UTF8FourByteOverlong . b"UTF8-E007")
1038      (branch UTF8SurrogateCodepoint . b"UTF8-E008")
1039      (branch UTF8CodepointOutOfRange . b"UTF8-E009")
1040      (branch UTF8SequenceTruncated . b"UTF8-E010")))

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.