def items.arr

bend-net-json@0.3.0.0 · json.bend:464

import bend-net-json@0.3.0.0/json.bend as Json
import Base

464def items.arr(xs: List<&2, Val>, first: Bool, rest: List<&2, Item>) -> List<&2, Item>:
465  match xs:
466    case Nil{}:
467      Con{ILit{"]"}, rest}
468    case Con{x, t}:
469      items.sep(first, Con{IVal{x}, items.arr(t, False{}, rest)})

Uses (5)

Used by (1)