def osa.head

shake@0.7.0.0 · src/cli.bend:2224

import shake@0.7.0.0/src/cli.bend as Cli
import Base

2224# the head of a row, or 0 past its end
2225def osa.head(xs: List<&2, Nat>) -> Nat:
2226  match xs:
2227    case Nil{}:
2228      0n
2229    case Con{hh, _t}:
2230      hh

Uses (2)

Used by (1)