Hoogle Search

Within LTS Haskell 24.12 (ghc-9.10.3)

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

  1. lookupLocatedTopConstructorRnN :: LocatedN RdrName -> RnM (LocatedN Name)

    ghc GHC.Rename.Env

    No documentation available.

  2. lookupNameWithQualifier :: Name -> ModuleName -> RnM (Name, FreeVars)

    ghc GHC.Rename.Env

    No documentation available.

  3. lookupOccRn :: RdrName -> RnM Name

    ghc GHC.Rename.Env

    No documentation available.

  4. lookupOccRn_maybe :: RdrName -> RnM (Maybe GlobalRdrElt)

    ghc GHC.Rename.Env

    No documentation available.

  5. lookupQualifiedDo :: HsStmtContext fn -> Name -> RnM (SyntaxExpr GhcRn, FreeVars)

    ghc GHC.Rename.Env

    No documentation available.

  6. lookupQualifiedDoExpr :: HsStmtContext fn -> Name -> RnM (HsExpr GhcRn, FreeVars)

    ghc GHC.Rename.Env

    No documentation available.

  7. lookupQualifiedDoName :: HsStmtContext fn -> Name -> RnM (Name, FreeVars)

    ghc GHC.Rename.Env

    No documentation available.

  8. lookupRecFieldOcc :: Maybe Name -> RdrName -> RnM Name

    ghc GHC.Rename.Env

    Look up an occurrence of a field in record construction or pattern matching (but not update). If -XDisambiguateRecordFields is off, then we will pass Nothing for the DataCon Name, i.e. we don't use the data constructor for disambiguation. See Note [DisambiguateRecordFields] and Note [NoFieldSelectors].

  9. lookupRecUpdFields :: NonEmpty (LHsRecUpdField GhcPs GhcPs) -> RnM (NonEmpty (HsRecUpdParent GhcRn))

    ghc GHC.Rename.Env

    Returns all possible collections of field labels for the given record update. Example: data D = MkD { fld1 :: Int, fld2 :: Bool } data E = MkE1 { fld1 :: Int, fld2 :: Bool, fld3 :: Char } | MkE2 { fld1 :: Int, fld2 :: Bool } data F = MkF1 { fld1 :: Int } | MkF2 { fld2 :: Bool } f r = r { fld1 = a, fld2 = b } This function will return:

    • [ D.fld1, D.fld2 -- could be a record update at type D , [ E.fld1, E.fld2 ] -- could be a record update at type E ] -- cannot be a record update at type F: no constructor has both -- of the fields fld1 and fld2
    If there are no valid parents for the record update, throws a TcRnBadRecordUpdate error.

  10. lookupSameOccRn_maybe :: RdrName -> RnM (Maybe Name)

    ghc GHC.Rename.Env

    No documentation available.

Page 53 of many | Previous | Next