Safe Haskell | None |
---|---|
Language | Haskell2010 |
interruptible
variants of the Language.C.Inline quasi-quoters, to call
interruptible C code. See https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ffi.html#ffi-interruptible
for more information.
This module is intended to be imported qualified:
import qualified Language.C.Inline.Interruptible as CI
Synopsis
- exp :: QuasiQuoter
- pure :: QuasiQuoter
- block :: QuasiQuoter
Documentation
exp :: QuasiQuoter Source #
C expressions.
pure :: QuasiQuoter Source #
Variant of exp
, for use with expressions known to have no side effects.
BEWARE: use this function with caution, only when you know what you are
doing. If an expression does in fact have side-effects, then indiscriminate
use of pure
may endanger referential transparency, and in principle even
type safety.
block :: QuasiQuoter Source #
C code blocks (i.e. statements).