haste-compiler-0.5.1.0: libraries/haste-lib/src/Haste/Foreign.hs
{-# LANGUAGE CPP #-}
-- | High level JavaScript foreign interface.
module Haste.Foreign (
-- * Conversion to/from JSAny
ToAny (..), FromAny (..), JSAny,
Opaque, toOpaque, fromOpaque,
nullValue, toObject, has, get, index,
-- * Importing and exporting JavaScript functions
FFI, JSFunc,
ffi, constant, export
#if __GLASGOW_HASKELL__ >= 710
, safe_ffi, StaticPtr
#endif
) where
import Haste.Prim.Foreign