blob: c7f6c0ca3664092ad2bb2f784e965d7e18074efe (
plain)
1
2
3
4
5
6
7
|
SafeLang08.hs:10:1: error: [GHC-57638]
• Unacceptable result type in foreign declaration:
Safe Haskell is on, all FFI imports must be in the IO monad
• When checking declaration:
foreign import ccall safe "SafeLang08_A" c_sin
:: CDouble -> CDouble
|