Core.later_l_path: def of bend-schema-lib@0.4.1.0 Import: import bend-schema-lib@0.4.1.0/core.bend as Core Lines 718-726 of bend-schema-lib@0.4.1.0/core.bend: https://jend.leeeet.dev/read.txt?path=bend-schema-lib@0.4.1.0/core.bend&start_line=718&end_line=726 import Base # An error found further along a list is one element further: its first # step, if it counts elements, counts one more. A plain list's steps are # AtIndex; a bounded list's are AtIndex and BoundAt. def later_l_path(p: List<&2, Step>) -> List<&2, Step>: match p: case AtIndex{j} <> q: AtIndex{1n+j} <> q case q: q Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-schema-lib@0.4.1.0/core.bend&name=Step