def code.at
import bolt@1.26.0.0/src/codes.bend as Codesimport Base
70# the stable code; the slug itself when it is not a rule
71def code.at(mm: Maybe<&2, Entry>, +slug: String) -> String:
72 match mm:
73 case None{}:
74 slug
75 case Some{Entry{_s, +id, _grp}}:
76 id