def gather_value

cli@0.2.0.0 · cli.bend:3646

import cli@0.2.0.0/cli.bend as Cli
import Base

3646def gather_value(gather: Gather, +value: String,
3647    many: Bool) -> Gather:
3648  match gather:
3649    case Gather{seen, values, +count}:
3650      Bool.pick(Gather, many,
3651        Gather{True{}, value <> values, count},
3652        Gather{True{}, [value], count})

Uses (5)

Used by (1)