def lex.dash
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
633def lex.dash(word: Bool, keep: String, r: String) -> Scan:
634 match word:
635 case True{}:
636 fixed("<", 1, keep, '<', Lt{})
637 case False{}:
638 fixed("<-", 2, r, '-', Word{})