def aliased

bolt@1.27.0.0 · src/rules/digest.bend:110

import bolt@1.27.0.0/src/rules/digest.bend as Digest
import Base

110# an item behind an alias, when an import names the alias, onto the others
111def aliased(mm: Maybe<&2, String>, +name: String, more: List<&2, Mention>) -> List<&2, Mention>:
112  match mm:
113    case Some{p}:
114      Mention{p, name} <> more
115    case None{}:
116      more

Uses (4)

Used by (1)