def ledger.of

ezx@1.11.0.0 · src/relock/relock.bend:21

import ezx@1.11.0.0/src/relock/relock.bend as Relock
import Base
import ezx@1.11.0.0/src/lock/plan.bend as P

21# what ez.toml holds once a plan has run, when it held `was` before
22def ledger.of(wrote: P.Wrote, was: Maybe<&2, String>) -> Maybe<&2, String>:
23  match wrote:
24    case P.Kept{}:
25      was
26    case P.Put{text}:
27      Some{text}

Uses (3)

Used by (1)