def tag.found
import yaml-for-bend@0.1.1.0/parse.bend as Parseimport Base
import yaml-for-bend@0.1.1.0/token.bend as T
295def tag.found(m: Maybe<&2, String>, suffix: String, at: T.Mark) -> Result<&2, &2, T.Error, Tag>:
296 match m:
297 case None{}:
298 Fail{T.Error{"found undefined tag handle while parsing a node", at, T.Syntax{}}}
299 case Some{p}:
300 Done{Tag{p ++ suffix}}