TensorFile.starts: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_file.bend as TensorFile Lines 179-183 of stelliferous@0.0.2.0/tensor_file.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_file.bend&start_line=179&end_line=183 import Base def starts(pattern: List<&2,U32>,bytes: List<&2,U32>) -> Bool: match pattern bytes: case Nil{} bytes: True{} case Con{first,rest} Nil{}: False{} case Con{first,rest} Con{byte,more}: U32.is_eq(first,byte) && starts(rest,more) 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_eq