Hoogle Search

Within LTS Haskell 24.65 (ghc-9.10.3)

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

  1. lookupLE :: Key -> Word64Set -> Maybe Key

    ghc-lib-parser GHC.Data.Word64Set.Internal

    Find largest element smaller or equal to the given one.

    lookupLE 2 (fromList [3, 5]) == Nothing
    lookupLE 4 (fromList [3, 5]) == Just 3
    lookupLE 5 (fromList [3, 5]) == Just 5
    

  2. lookupLT :: Key -> Word64Set -> Maybe Key

    ghc-lib-parser GHC.Data.Word64Set.Internal

    Find largest element smaller than the given one.

    lookupLT 3 (fromList [3, 5]) == Nothing
    lookupLT 5 (fromList [3, 5]) == Just 3
    

  3. lookupIfaceByModule :: HomeUnitGraph -> PackageIfaceTable -> Module -> Maybe ModIface

    ghc-lib-parser GHC.Driver.Env

    Find the ModIface for a Module, searching in both the loaded home and external package module information

  4. lookupType :: HscEnv -> Name -> IO (Maybe TyThing)

    ghc-lib-parser GHC.Driver.Env

    Find the TyThing for the given Name by using all the resources at our disposal: the compiled modules in the HomePackageTable and the compiled modules in other packages that live in PackageTypeEnv. Note that this does NOT look up the TyThing in the module being compiled: you have to do that yourself, if desired

  5. lookupKnotVars :: KnotVars a -> Module -> Maybe a

    ghc-lib-parser GHC.Driver.Env.KnotVars

    No documentation available.

  6. lookupRefuts :: Nabla -> Id -> [PmAltCon]

    ghc-lib-parser GHC.HsToCore.Pmc.Solver.Types

    No documentation available.

  7. lookupSolution :: Nabla -> Id -> Maybe PmAltConApp

    ghc-lib-parser GHC.HsToCore.Pmc.Solver.Types

    No documentation available.

  8. lookupVarInfo :: TmState -> Id -> VarInfo

    ghc-lib-parser GHC.HsToCore.Pmc.Solver.Types

    No documentation available.

  9. lookupVarInfoNT :: TmState -> Id -> (Id, VarInfo)

    ghc-lib-parser GHC.HsToCore.Pmc.Solver.Types

    Like lookupVarInfo ts x, but lookupVarInfo ts x = (y, vi) also looks through newtype constructors. We have x ~ N1 (... (Nk y)) such that the returned y doesn't have a positive newtype constructor constraint associated with it (yet). The VarInfo returned is that of y's representative. Careful, this means that idType x might be different to idType y, even modulo type normalisation! See also Note [Coverage checking Newtype matches] in GHC.HsToCore.Pmc.Solver.

  10. lookupName :: Bool -> String -> Q (Maybe Name)

    ghc-lib-parser GHC.Internal.TH.Syntax

    No documentation available.

Page 88 of many | Previous | Next