Defs.all_bytes: def of lawful-bytes@0.1.1.0 Import: import lawful-bytes@0.1.1.0/defs.bend as Defs Lines 45-51 of lawful-bytes@0.1.1.0/defs.bend: https://jend.leeeet.dev/read.txt?path=lawful-bytes@0.1.1.0/defs.bend&start_line=45&end_line=51 import Base # Every element is a byte (below 256). def all_bytes(xs: List<&2, U32>) -> Bool: match xs: case Nil{}: True{} case Con{x, t}: U32.is_lt(x, 256) && all_bytes(t) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and 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=Base/base.bend&name=U32.is_lt