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.

  1. groupSortOn :: Ord b => (a -> b) -> [a] -> [[a]]

    extra Extra

    A combination of group and sort, using a part of the value to compare on.

    groupSortOn length ["test","of","sized","item"] == [["of"],["test","item"],["sized"]]
    

  2. nubSort :: Ord a => [a] -> [a]

    extra Extra

    O(n log n). The nubSort function sorts and removes duplicate elements from a list. In particular, it keeps only the first occurrence of each element.

    nubSort "this is a test" == " aehist"
    \xs -> nubSort xs == nub (sort xs)
    

  3. nubSortBy :: (a -> a -> Ordering) -> [a] -> [a]

    extra Extra

    A version of nubSort with a custom predicate.

    nubSortBy (compare `on` length) ["a","test","of","this"] == ["a","of","test"]
    

  4. nubSortOn :: Ord b => (a -> b) -> [a] -> [a]

    extra Extra

    A version of nubSort which operates on a portion of the value.

    nubSortOn length ["a","test","of","this"] == ["a","of","test"]
    

  5. Opt_SortBySizeHoleFits :: GeneralFlag

    ghc GHC

    No documentation available.

  6. Opt_SortBySubsumHoleFits :: GeneralFlag

    ghc GHC

    No documentation available.

  7. Opt_SortValidHoleFits :: GeneralFlag

    ghc GHC

    No documentation available.

  8. topSortModuleGraph :: Bool -> ModuleGraph -> Maybe HomeUnitModule -> [SCC ModuleGraphNode]

    ghc GHC

    Topological sort of the module graph Calculate SCCs of the module graph, possibly dropping the hi-boot nodes The resulting list of strongly-connected-components is in topologically sorted order, starting with the module(s) at the bottom of the dependency graph (ie compile them first) and ending with the ones at the top. Drop hi-boot nodes (first boolean arg)?

    • False: treat the hi-boot summaries as nodes of the graph, so the graph must be acyclic
    • True: eliminate the hi-boot nodes, and instead pretend the a source-import of Foo is an import of Foo The resulting graph has no hi-boot nodes, but can be cyclic

  9. typeLitSortTyConKey :: Unique

    ghc GHC.Builtin.Names

    No documentation available.

  10. typeLitSortTyConName :: Name

    ghc GHC.Builtin.Names

    No documentation available.

Page 96 of many | Previous | Next