Cookie.cookie.pairs.keep: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/cookie.bend as Cookie Lines 287-294 of emerging-ezhttp@0.21.0.0/src/cookie.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/cookie.bend&start_line=287&end_line=294 import Base # keep name=value when the name is not empty def cookie.pairs.keep(name: String, value: String, empty: Bool, rest: Unit -> List<&2, String>) -> List<&2, String>: match empty: case True{}: rest(Unit{}) case False{}: (name ++ "=" ++ value) <> rest(Unit{}) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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=Unit