Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
contextualMapBy :: (ByteString -> a -> Trie a -> Maybe b) -> Trie a -> Trie bbytestring-trie Data.Trie.Internal Contextual variant of mapBy, aka keyed variant of contextualFilterMap. Warning: This function suffers Bug #25.
filterMap :: (a -> Maybe b) -> Trie a -> Trie bbytestring-trie Data.Trie.Internal Apply a function to all values, potentially removing them.
Laws
The fission/fusion laws are essentially the same, they differ only in which direction is more "natural" for use as a rewrite rule. The conservation law is just a special case of fusion, but it's a particularly helpful one to take note of.submap :: ByteString -> Trie a -> Trie abytestring-trie Data.Trie.Internal Return the subtrie containing all keys beginning with a prefix.
buildDebVersionMap :: IO DebMapcabal-debian Debian.Debianize Query versions of installed packages
dpkgFileMap :: IO (Map FilePath (Set BinPkgName))cabal-debian Debian.Debianize Create a map from pathname to the names of the packages that contains that pathname using the contents of the debian package info directory varlibdpkginfo.
remapCabal :: forall (m :: Type -> Type) . Monad m => PackageName -> DebBase -> CabalT m ()cabal-debian Debian.Debianize Replace any existing mapping of the cabal name pname with the debian name dname. (Use case: to change the debian package name so it differs from the package provided by ghc.)
debianNameMap :: Lens' CabalInfo (Map PackageName VersionSplits)cabal-debian Debian.Debianize.CabalInfo No documentation available.
epochMap :: Lens' CabalInfo (Map PackageName Int)cabal-debian Debian.Debianize.CabalInfo No documentation available.
execMap :: Lens' DebInfo (Map String Relations)cabal-debian Debian.Debianize.DebInfo No documentation available.
extraLibMap :: Lens' DebInfo (Map String Relations)cabal-debian Debian.Debianize.DebInfo No documentation available.