HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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
valuelookup1 :: Eq k => k -> AssocList k [e] -> [e]
#

lookup with empty list (empty string) as default value

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