def text.of

emerging-ezhttp@0.21.0.0 · src/unescape.bend:199

import emerging-ezhttp@0.21.0.0/src/unescape.bend as Unescape
import 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{})}

Uses (4)

Used by (1)