def item.cons

cswap-bend-cli@0.1.0.0 · json.bend:64

import cswap-bend-cli@0.1.0.0/json.bend as Json
import Base

64def item.cons(x: Result<&2, &2, String, Json>, rest: Result<&2, &2, String, Json>) -> Result<&2, &2, String, Json>:
65  match x rest:
66    case Done{a} Done{b}:
67      Done{JCons{a, b}}
68    case Fail{e} _:
69      Fail{e}
70    case _ Fail{e}:
71      Fail{e}

Uses (3)

Used by (1)