def prefetch3

cswap-bend-cli@0.1.0.0 · swlive.bend:261

import cswap-bend-cli@0.1.0.0/swlive.bend as Swlive
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
import cswap-bend-cli@0.1.0.0/store/base.bend as SBase
import cswap-bend-cli@0.1.0.0/store/plan.bend as SPlan

261def prefetch3(+ctx: SBase.Ctx, +o: Oracle, +l: Live, +m: Maybe<&2, Json.Json>) -> Act.of(Pre):
262  match m:
263    case None{}:
264      Act.pure(Pre, no_pre())
265    case Some{seq}:
266      do ActM<Pre>:
267        p : SPlan.Prof <- lookup_for(ctx, o, l, seq)
268        return Pre{lv_creds(l), p}

Uses (15)

Used by (1)