def str_or

cswap-bend-cli@0.1.0.0 · store/seq.bend:31

import cswap-bend-cli@0.1.0.0/store/seq.bend as Seq
import Base

31def str_or(+m: Maybe<&2, String>, +d: String) -> String:
32  match m:
33    case None{}:
34      d
35    case Some{s}:
36      s

Uses (2)

Used by (15)