def all_ge

cswap-bend-cli@0.1.0.0 · fmt/yamlr.bend:107

import cswap-bend-cli@0.1.0.0/fmt/yamlr.bend as Yamlr
import Base

107def all_ge(ls: List<&2, Ln>, +n: Nat) -> Bool:
108  match ls:
109    case Nil{}:
110      True{}
111    case Con{Ln{i, t}, r}:
112      Nat.is_ge(i, n) && all_ge(r, n)

Uses (6)

Used by (1)