def text.of
import emerging-ezhttp@0.21.0.0/src/unescape.bend as Unescapeimport Base
199# a character in text once it is known whether it is `&`
200def text.of(+c: Char, k: Scan -> String, amp: Bool) -> String:
201 match amp:
202 case True{}:
203 k(Amp{})
204 case False{}:
205 SCon{c, k(Txt{})}