blob: 9844ec6525bb67d885f90d6c6dff701402315e0b (
plain)
1
2
3
4
5
6
7
8
|
{-# 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
|