def drop

bend-collections@1.0.0.0 · src/crypto/secp256k1/limbs.bend:84

import bend-collections@1.0.0.0/src/crypto/secp256k1/limbs.bend as Limbs
import Base

84def drop(n: Nat, xs: List<&2, Nat>) -> List<&2, Nat>:
85  match n xs:
86    case 0n _: xs
87    case 1n+k Nil{}: Nil{}
88    case 1n+k x <> t: drop(k, t)

Uses (2)

Used by (3)