def tail

bend-collections-laws-math@1.0.0.0 · spec/math/random/chacha8rand.bend:187

import bend-collections-laws-math@1.0.0.0/spec/math/random/chacha8rand.bend as Chacha8rand
import Base
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W

187def tail(xs: List<&2, W.U64>) -> List<&2, W.U64>:
188  match xs:
189    case Nil{}:
190      []
191    case Con{x, rest}:
192      rest

Uses (2)

Used by (2)