HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulecommonmark-0.2.6Haskell2010

Commonmark.ReferenceMap

  • 2 types
  • 3 values
  • Packagecommonmark-0.2.6
  • Exports5
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceReferenceMap.hs
valuelookupReference
  1. :: Typeable a
  2. => Text

    Reference label

  3. -> ReferenceMap
  4. -> Maybe a
#

Lookup a reference in a reference map. If there are several values at this key, we return the first one in the list that can be converted to an a.