Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
NoAllowAmbiguousTypes :: Extensionhint Language.Haskell.Interpreter.Extension No documentation available.
-
hint Language.Haskell.Interpreter.Extension No documentation available.
-
hint Language.Haskell.Interpreter.Extension No documentation available.
NoParallelListComp :: Extensionhint Language.Haskell.Interpreter.Extension No documentation available.
-
hint Language.Haskell.Interpreter.Extension No documentation available.
-
hint Language.Haskell.Interpreter.Extension No documentation available.
-
SmallCheck support for the Hspec testing framework SmallCheck support for the Hspec testing framework
-
No documentation available.
aqMarshaller :: AntiQuoter a -> Purity -> TypesTable -> Type CIdentifier -> a -> Q (Type, Exp)inline-c Language.C.Inline.Context Takes the requested purity, the current TypesTable, and the type and the body returned by aqParser. Returns the Haskell type for the parameter, and the Haskell expression that will be passed in as the parameter. If the the type returned is ty, the Exp must have type forall a. (ty -> IO a) -> IO a. This allows to do resource handling when preparing C values. Care must be taken regarding Purity. Specifically, the generated IO computation must be idempotent to guarantee its safety when used in pure code. We cannot prevent the IO computation from being inlined, hence potentially duplicated. If non-idempotent marshallers are required (e.g. if an update to some global state is needed), it is best to throw an error when Purity is Pure (for example "you cannot use context X with pure"), which will show up at compile time.
codeCallSafety :: Code -> Safetyinline-c Language.C.Inline.Internal Safety of the foreign call.