Common.take: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend as Common Lines 154-161 of bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend&start_line=154&end_line=161 import Base def take(-A: Data, xs: List<&2, A>, n: Nat) -> List<&2, A>: match xs n: case Nil{} _: Nil{} case Con{h, t} 0n: Nil{} case Con{h, t} 1n+p: Con{h, take(A, t, p)} Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat