def cons_str

cswap-bend-cli@0.1.0.0 · rpcmsg.bend:41

import cswap-bend-cli@0.1.0.0/rpcmsg.bend as Rpcmsg
import Base

41def cons_str(x: Result<&2, &2, String, String>, rest: Result<&2, &2, String, List<&2, String>>) -> Result<&2, &2, String, List<&2, String>>:
42  match x rest:
43    case Done{a} Done{b}:
44      Done{a <> b}
45    case Fail{e} _:
46      Fail{e}
47    case _ Fail{e}:
48      Fail{e}

Uses (3)

Used by (1)