Source/Packages

Data.UTF8

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

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

def · lines 724–727

utf8DecodeTruncatedAt

Full file
A truncation failure carrying its byte offset (already a threaded `Nat`).
724def utf8DecodeTruncatedAt =
725  (lambda unrestricted code : (family UTF8ErrorCode) .
726    (lambda unrestricted offset : Nat .
727      (constructor UTF8DecodeResult UTF8DecodeFailed code (utf8OffsetWord offset))))

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.