HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulehxt-9.3.1.22Haskell2010

Data.AssocList

Simple key value assocciation list implemented as unordered list of pairs

  • 1 type
  • 7 values
  • Packagehxt-9.3.1.22
  • Exports8
  • LanguageHaskell2010
  • LicenceMIT
  • SourceAssocList.hs
valueaddEntry :: Eq k => k -> v -> AssocList k v -> AssocList k v
#

add an entry, remove an existing entry before adding the new one at the top of the list, addEntry is strict

valuelookup1 :: Eq k => k -> AssocList k [e] -> [e]
#

lookup with empty list (empty string) as default value