def without.go
import ezmcp@0.1.0.0/src/server.bend as Serverimport Base
import emerging-ezjson@1.2.0.0/src/value.bend as Value
410# an object's members, less every one named `key`
411def without.go(cells: Value.Json, +key: String) -> Value.Json:
412 match cells:
413 case Value.JPair{+k, v, r}:
414 without.pair(Value.find.eq(k, key), k, v, without.go(r, key))
415 case Value.JBind{+src, +num, v, r}:
416 without.bind(Value.span.eq(src, num, key), src, num, v,
417 without.go(r, key))
418 case other:
419 other