summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/ghci/p6.stderr
blob: 6213243bb0f72f4e0f2e5b2f77d24077c145a8df (plain)
1
2
3
4
5
6
7
8
9
10

<interactive>:11: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 "sin" c_sin :: Double -> Double

<interactive>:12:1: error:
    • Variable not in scope: c_sin :: t0 -> t
    • Perhaps you meant ‘c_sin'’ (line 7)