Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. pprForall' :: PprFlag flag => ForallVisFlag -> [TyVarBndr flag] -> Cxt -> Doc

    template-haskell Language.Haskell.TH.Ppr

    No documentation available.

  2. pprForallVis :: [TyVarBndr ()] -> Cxt -> Doc

    template-haskell Language.Haskell.TH.Ppr

    No documentation available.

  3. BeforePhase :: Int -> Phases

    template-haskell Language.Haskell.TH.Syntax

    No documentation available.

  4. addForeignFile :: ForeignSrcLang -> String -> Q ()

    template-haskell Language.Haskell.TH.Syntax

    Deprecated: Use addForeignSource instead

  5. addForeignFilePath :: ForeignSrcLang -> FilePath -> Q ()

    template-haskell Language.Haskell.TH.Syntax

    Same as addForeignSource, but expects to receive a path pointing to the foreign file instead of a String of its contents. Consider using this in conjunction with addTempFile. This is a good alternative to addForeignSource when you are trying to directly link in an object file.

  6. addForeignSource :: ForeignSrcLang -> String -> Q ()

    template-haskell Language.Haskell.TH.Syntax

    Emit a foreign file which will be compiled and linked to the object for the current module. Currently only languages that can be compiled with the C compiler are supported, and the flags passed as part of -optc will be also applied to the C compiler invocation that will compile them. Note that for non-C languages (for example C++) extern C directives must be used to get symbols that we can access from Haskell. To get better errors, it is recommended to use #line pragmas when emitting C files, e.g.

    {-# LANGUAGE CPP #-}
    ...
    addForeignSource LangC $ unlines
    [ "#line " ++ show (844 + 1) ++ " " ++ show "libraries/template-haskell/Language/Haskell/TH/Syntax.hs"
    , ...
    ]
    

  7. qAddForeignFilePath :: Quasi m => ForeignSrcLang -> String -> m ()

    template-haskell Language.Haskell.TH.Syntax

    No documentation available.

  8. type PlatformPath = PosixPath

    filepath System.OsPath.Types

    Ifdef around current platform (either WindowsPath or PosixPath).

  9. isLeafOrCollision :: HashMap k v -> Bool

    unordered-containers Data.HashMap.Internal

    Helper function to detect Leafs and Collisions.

  10. propertyForAllShrinkShow :: Testable prop => Gen a -> (a -> [a]) -> (a -> [String]) -> (a -> prop) -> Property

    tasty-quickcheck Test.Tasty.QuickCheck

    Optional; used internally in order to improve shrinking. Tests a property but also quantifies over an extra value (with a custom shrink and show function). The Testable instance for functions defines propertyForAllShrinkShow in a way that improves shrinking.

Page 410 of many | Previous | Next