blob: 7e1655e00a65faca337b45e71da23ab00c9c3f10 (
plain)
1
2
3
4
5
6
7
|
SafeLang08.hs:10:1: error:
• 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
|