blob: d6947e2d2729854ece5d5888d62bc7ea0f82ae9d (
plain)
1
2
3
4
5
6
7
8
9
|
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE ForeignFunctionInterface #-}
-- | FFI but in IO monad so safe
module SafeInfered03_A where
import Foreign.C
foreign import ccall "math.h" sin :: CDouble -> IO CDouble
|