def drop_pair

cswap-bend-cli@0.1.0.0 · store/io.bend:194

import cswap-bend-cli@0.1.0.0/store/io.bend as Io
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/act.bend as Act

194# Archive what a displaced and a migrated slot held, in that order.
195def drop_pair(+root: String, +seq: Json.Json, +displace: Maybe<&2, String>, +migrate: Maybe<&2, String>, +ts: String) -> Act.of(Json.Json):
196  do ActM<Json.Json>:
197    s1 : Json.Json <- drop_opt(root, seq, displace, ts)
198    drop_opt(root, s1, migrate, ts)

Uses (7)

Used by (2)