Hoogle Search
Within LTS Haskell 24.36 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
hetero-parameter-list Data.HeteroParList No documentation available.
-
hetero-parameter-list Data.HeteroParList No documentation available.
unlisten :: (HasCallStack, MonadDB m) => Channel -> m ()hpqtypes Database.PostgreSQL.PQTypes.Notification Stop listening for notifications on a given channel.
unlistenAll :: (HasCallStack, MonadDB m) => m ()hpqtypes Database.PostgreSQL.PQTypes.Notification Cancel all listener registrations for the current session.
cfgFromList :: [(SectionName, [(OptionName, OptionValue)])] -> Confighsini Data.Ini.Types No documentation available.
cfgToList :: Config -> [(SectionName, [(OptionName, OptionValue)])]hsini Data.Ini.Types No documentation available.
type family
InList x (xs :: [Type]) :: Nathvect Data.HVect No documentation available.
type family
MaybeToList (a :: Maybe Type) :: [Type]hvect Data.HVect No documentation available.
type family
NotInList x (xs :: [Type]) :: Boolhvect Data.HVect No documentation available.
fromList :: (Ord k, MonoidNull v) => [(k, v)] -> MonoidMap k vmonoidmap Data.MonoidMap Constructs a MonoidMap from a list of key-value pairs. If the list contains more than one value for the same key, values are combined together in the order that they appear with the (<>) operator. Satisfies the following property for all possible keys k:
get k (fromList kvs) == foldMap snd (filter ((== k) . fst) kvs)
Satisfies the following round-trip property:fromList (toList m) == m
Examples
With String values:>>> fromList [(1,"a"), (2,"x"), (1,"b"), (2,"y"), (1,"c"), (2,"z")] fromList [(1,"abc"), (2,"xyz")]