def attach

bend-toon-codec@0.1.0.0 · src/frame.bend:149

import bend-toon-codec@0.1.0.0/src/frame.bend as Frame
import Base
import bend-toon-codec@0.1.0.0/src/json.bend as J

149def attach(+att: Att, +v: J.Json, +stk: List<&2, Fr>, +root: Maybe<&2, J.Json>, +strict: Bool, +bmin: U32) -> Result<&2, &2, String, St>:
150  match stk:
151    case Nil{}:
152      Done{St{Nil{}, Some{v}, bmin}}
153    case Con{top, rest}:
154      attach.top(top, att, v, rest, root, strict, bmin)

Uses (11)

Used by (1)