ProofDigits.alld: def of lawful-fields@0.1.1.0 Import: import lawful-fields@0.1.1.0/proof_digits.bend as ProofDigits Lines 23-29 of lawful-fields@0.1.1.0/proof_digits.bend: https://jend.leeeet.dev/read.txt?path=lawful-fields@0.1.1.0/proof_digits.bend&start_line=23&end_line=29 import Base # Every element is a digit byte (48 to 57). def alld(xs: List<&2, U32>) -> Bool: match xs: case Nil{}: True{} case Con{+x, t}: Bool.and(Bool.and(U32.is_ge(x, 48), U32.is_le(x, 57)), alld(t)) Uses (6): 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_ge https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_le