Unescape.named.of: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/unescape.bend as Unescape Lines 176-183 of emerging-ezhttp@0.21.0.0/src/unescape.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/unescape.bend&start_line=176&end_line=183 import Base import emerging-ezhttp@0.21.0.0/src/entities.bend as Ents # a reference's text once its longest name is known: the characters, then # the text after the name as written; with no name, `&` and the text def named.of(m: Maybe<&2, Ents.Ref>, s: String) -> String: match m: case None{}: SCon{'&', s} case Some{Ents.Ref{+name, first, second}}: chars(first, second) ++ String.drop(s, String.length(name)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.drop https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.length https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/entities.bend&name=Ref https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/unescape.bend&name=chars