def map.tagged

yaml-for-bend@0.1.1.0 · compose.bend:410

import yaml-for-bend@0.1.1.0/compose.bend as Compose
import Base
import yaml-for-bend@0.1.1.0/parse.bend as P
import yaml-for-bend@0.1.1.0/value.bend as V

410def map.tagged(r: Result<&2, &2, String, V.Yaml>, t: P.Tag) -> Result<&2, &2, String, V.Yaml>:
411  match r:
412    case Fail{e}:
413      Fail{e}
414    case Done{v}:
415      Done{collection(t, v)}

Uses (5)

Used by (1)