def either
import bolt@1.27.0.0/src/rules/suspicious/concat.bend as Concatimport Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex
110# the first maybe when it holds a token, else the second
111def either(aa: Maybe<&2, Lex.Tok>, bb: Maybe<&2, Lex.Tok>) -> Maybe<&2, Lex.Tok>:
112 match aa:
113 case None{}:
114 bb
115 case Some{tok}:
116 Some{tok}