lookup +base

lookup :: Eq a => a -> [(a, b)] -> Maybe b
base Prelude, base Data.List
lookup key assocs looks up a key in an association list.
lookup :: HashTable key val -> key -> IO (Maybe val)
base Data.HashTable
Looks up the value of a key in the hash table.