def plural

ezx@1.11.0.0 · src/doctor/plan.bend:65

import ezx@1.11.0.0/src/doctor/plan.bend as Plan
import Base

65# a count with its noun, kept in agreement
66def plural(+count: Nat, one: String, many: String) -> String:
67  Nat.show(count) ++ " " ++ Bool.pick(String, Nat.is_eq(count, 1n), one, many)

Uses (6)

Used by (6)