def clear_seq
import cswap-bend-cli@0.1.0.0/cliops.bend as Cliopsimport Base
import cswap-bend-cli@0.1.0.0/store/seq.bend as SSeq
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/act.bend as Act
127def clear_seq(m: Maybe<&2, Json.Json>, +root: String, +slot: String) -> Act.of(Unit):
128 match m:
129 case None{}:
130 Act.pure(Unit, Unit{})
131 case Some{seq}:
132 clear_rec(SSeq.slot_record(seq, slot), root, slot)