def close.go
import bend-toon-codec@0.1.0.0/src/frame.bend as Frameimport Base
import bend-toon-codec@0.1.0.0/src/json.bend as J
156def close.go(+r: Result<&2, &2, String, J.Json>, +att: Att, +rest: List<&2, Fr>, +root: Maybe<&2, J.Json>, +strict: Bool, +bmin: U32) -> Result<&2, &2, String, St>:
157 match r:
158 case Fail{e}:
159 Fail{e}
160 case Done{v}:
161 attach(att, v, rest, root, strict, bmin)