Hoogle Search

Within LTS Haskell 24.35 (ghc-9.10.3)

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

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

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

    ghc GHC.Rename.Env

    No documentation available.

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

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

    ghc GHC.Rename.Env

    No documentation available.

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

    ghc GHC.Rename.Env

    No documentation available.

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

    ghc GHC.Rename.Env

    Used in export lists to lookup the children.

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

    ghc GHC.Rename.Env

    No documentation available.

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

    ghc GHC.Rename.Env

    No documentation available.

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

    ghc GHC.Rename.Env

    No documentation available.

  10. lookupSyntaxNames :: [Name] -> RnM ([HsExpr GhcRn], FreeVars)

    ghc GHC.Rename.Env

    No documentation available.

Page 56 of many | Previous | Next