def drop

bend-collections@1.0.0.0 · src/crypto/curve25519/field.bend:65

import bend-collections@1.0.0.0/src/crypto/curve25519/field.bend as Field
import Base

65def drop(n: Nat, xs: List<&2, U32>) -> List<&2, U32>:
66  match n:
67    case 0n:
68      xs
69    case 1n+m:
70      match xs:
71        case Nil{}:
72          Nil{}
73        case Con{x, xt}:
74          drop(m, xt)

Uses (3)

Used by (3)