def rows.repl.step

emerging-eztoml@0.9.0.0 · main.bend:1939

import emerging-eztoml@0.9.0.0/main.bend as EmergingEztoml
import Base

1939# replace the value of one pair
1940def rows.repl.step(eq: Bool, nn: String, old: Val, val: Val, more: Unit -> List<&2, Val>) -> List<&2, Val>:
1941  match eq:
1942    case True{}:
1943      VPair{nn, val} <> more(Unit{})
1944    case False{}:
1945      VPair{nn, old} <> more(Unit{})

Uses (5)

Used by (1)