Hoogle Search

Within LTS Haskell 24.26 (ghc-9.10.3)

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

  1. 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].

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

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

    ghc GHC.Rename.Env

    No documentation available.

  4. lookupSigCtxtOccRn :: HsSigCtxt -> SDoc -> GenLocated (EpAnn ann) RdrName -> RnM (GenLocated (EpAnn ann) Name)

    ghc GHC.Rename.Env

    Lookup a name in relation to the names in a HsSigCtxt

  5. lookupSigOccRn :: HsSigCtxt -> Sig GhcPs -> LocatedA RdrName -> RnM (LocatedA Name)

    ghc GHC.Rename.Env

    No documentation available.

  6. lookupSigOccRnN :: HsSigCtxt -> Sig GhcPs -> LocatedN RdrName -> RnM (LocatedN Name)

    ghc GHC.Rename.Env

    No documentation available.

  7. lookupSubBndrOcc_helper :: Bool -> DeprecationWarnings -> Name -> RdrName -> LookupChild -> RnM ChildLookupResult

    ghc GHC.Rename.Env

    Used in export lists to lookup the children.

  8. lookupSyntax :: Name -> RnM (SyntaxExpr GhcRn, FreeVars)

    ghc GHC.Rename.Env

    No documentation available.

  9. lookupSyntaxExpr :: Name -> RnM (HsExpr GhcRn, FreeVars)

    ghc GHC.Rename.Env

    No documentation available.

  10. lookupSyntaxName :: Name -> RnM (Name, FreeVars)

    ghc GHC.Rename.Env

    No documentation available.

Page 56 of many | Previous | Next