blob: 01c7ea5d151b68133c7bbf5df1cdb993c36fcd60 (
plain)
1
2
3
4
5
6
|
ccfail001.hs:10:1:
Unacceptable result type in foreign declaration:
‘State# RealWorld’ cannot be marshalled in a foreign call
When checking declaration:
foreign import ccall safe foo :: Int -> State# RealWorld
|