Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. hole_sort :: Hole -> HoleSort

    ghc GHC.Tc.Types.Constraint

    What flavour of hole is this?

  2. scopedSort :: [TyCoVar] -> [TyCoVar]

    ghc GHC.Tc.Utils.TcType

    Do a topological sort on a list of tyvars, so that binders occur before occurrences E.g. given [ a::k, k::*, b::k ] it'll return a well-scoped list [ k::*, a::k, b::k ] This is a deterministic sorting operation (that is, doesn't depend on Uniques). It is also meant to be stable: that is, variables should not be reordered unnecessarily. This is specified in Note [ScopedSort] See also Note [Ordering of implicit variables] in GHC.Rename.HsType

  3. data TupleSort

    ghc GHC.Types.Basic

    No documentation available.

  4. boxityTupleSort :: Boxity -> TupleSort

    ghc GHC.Types.Basic

    No documentation available.

  5. tupleSortBoxity :: TupleSort -> Boxity

    ghc GHC.Types.Basic

    No documentation available.

  6. filterToposortToModules :: [SCC ModuleGraphNode] -> [SCC ModSummary]

    ghc 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.

  7. isSortedBy :: (a -> a -> Ordering) -> [a] -> Bool

    ghc GHC.Utils.Misc

    No documentation available.

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

    ghc GHC.Utils.Misc

    No documentation available.

  9. itsOrTheir :: [a] -> SDoc

    ghc 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
    

  10. thisOrThese :: [a] -> SDoc

    ghc 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
    

Page 110 of many | Previous | Next