def St.count

bendtorch-load@1.3.0.0 · main.bend:523

import bendtorch-load@1.3.0.0/main.bend as BendtorchLoad
import Base

523def St.count(bs: List<&2, U32>, +acc: U32) -> U32:
524  match bs:
525    case Nil{}: acc
526    case Con{b, t}: St.count(t, (acc + 1 : U32))

Uses (3)

Used by (1)