def descendant.pick

ezx@1.11.0.0 · src/git/exec.bend:120

import ezx@1.11.0.0/src/git/exec.bend as Exec
import Base

120# the status, read
121def descendant.pick(yes: Bool, no: Bool, text: String) -> IO(Bool):
122  match yes:
123    case True{}:
124      IO.pure(Bool, True{})
125    case False{}:
126      descendant.no(no, text)

Uses (5)

Used by (1)