blob: f46c1f815e4608bdda623f7c9369da9a2faef9f6 (
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)
|