def best.take
import emerging-ezhttp@0.21.0.0/src/unescape.bend as Unescapeimport Base
import emerging-ezhttp@0.21.0.0/src/entities.bend as Ents
137# the better of the best so far and a name the text starts with: the longer
138def best.take(best: Maybe<&2, Ents.Ref>, +r: Ents.Ref, longer: Bool)
139 -> Maybe<&2, Ents.Ref>:
140 match longer:
141 case True{}:
142 Some{r}
143 case False{}:
144 best