Bytes.to_string.cat: def of bend-osdev-bytes@0.1.1.1 Import: import bend-osdev-bytes@0.1.1.1/bytes.bend as Bytes Lines 305-311 of bend-osdev-bytes@0.1.1.1/bytes.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-bytes@0.1.1.1/bytes.bend&start_line=305&end_line=311 import Base # the string of xs's bytes in front of acc (structural; the laws' form) def to_string.cat(xs: List<&2, U32>, acc: String) -> String: match xs: case Nil{}: acc case Con{h, t}: SCon{Chr{byte(h)}, to_string.cat(t, acc)} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.1/bytes.bend&name=byte