Html.one.sq: def of emerging-ezhttp@0.21.0.0
Import: import emerging-ezhttp@0.21.0.0/src/html.bend as Html
Lines 7-13 of emerging-ezhttp@0.21.0.0/src/html.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/html.bend&start_line=7&end_line=13
import Base
# one character that is not `&`, `<`, `>` or `"`, as `'` or as itself
def one.sq(+c: Char, rest: String, hit: Bool) -> String:
match hit:
case True{}:
"'" ++ rest
case False{}:
SCon{c, rest}
Uses (4):
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char
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