LAWS.octets_of_list_idempotent: law of bend-osdev-bytes@0.1.1.0 Import: import bend-osdev-bytes@0.1.1.0/LAWS.bend as LAWS Lines 100-103 of bend-osdev-bytes@0.1.1.0/LAWS.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-bytes@0.1.1.0/LAWS.bend&start_line=100&end_line=103 import Base import bend-osdev-bytes@0.1.1.0/bytes.bend as B # of_list masks once: converting a byte string to a list and back changes nothing law octets_of_list_idempotent: for xs: List<&2, U32> {B.Octets.of_list(B.Octets.to_list(B.Octets.of_list(xs))) == B.Octets.of_list(xs) : B.Octets} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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.0/LAWS.bend&name=octets_of_to https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.of_list https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.to_list