Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
filterToposortToModules :: [SCC ModuleGraphNode] -> [SCC ModSummary]ghc-lib-parser GHC.Unit.Module.Graph This function filters out all the instantiation nodes from each SCC of a topological sort. Use this with care, as the resulting "strongly connected components" may not really be strongly connected in a direct way, as instantiations have been removed. It would probably be best to eliminate uses of this function where possible.
isSortedBy :: (a -> a -> Ordering) -> [a] -> Boolghc-lib-parser GHC.Utils.Misc No documentation available.
nubSort :: Ord a => [a] -> [a]ghc-lib-parser GHC.Utils.Misc No documentation available.
-
ghc-lib-parser GHC.Utils.Outputable Determines the form of possessive appropriate for the length of a list:
itsOrTheir [x] = text "its" itsOrTheir [x,y] = text "their" itsOrTheir [] = text "their" -- probably avoid this
-
ghc-lib-parser GHC.Utils.Outputable Determines the form of subject appropriate for the length of a list:
thisOrThese [x] = text "This" thisOrThese [x,y] = text "These" thisOrThese [] = text "These" -- probably avoid this
-
ghc-lib-parser Language.Haskell.Syntax.Type Haskell Tuple Sort
cursorToLL :: TermStr s => Capability sterminfo System.Console.Terminfo.Cursor No documentation available.
-
dhall Dhall.Core Utility used to censor Text by replacing all characters with a space
isSorted :: Eq k => Map k v -> Booldhall Dhall.Map Check if the keys of a Map are already sorted
isSorted (sort m) = True
>>> isSorted (fromList [("B",1),("A",2)]) -- Sortedness is based only on keys False >>> isSorted (fromList [("A",2),("B",1)]) True-
dhall Dhall.Parser.Token Parse the Sort built-in This corresponds to the Sort rule from the official grammar