blob: 9b6c0cfdb4597d5af53be0cf864597f445e16e67 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<interactive>:12:1:
Unacceptable result type in foreign declaration: Double
Safe Haskell is on, all FFI imports must be in the IO monad
When checking declaration:
foreign import ccall safe "static sin" c_sin :: Double -> Double
<interactive>:13:1:
Not in scope: ‘c_sin’
Perhaps you meant ‘c_sin'’ (line 8)
|