blob: f160066e647d1e9c265a052a860fbd1f45b6b554 (
plain)
1
2
3
4
5
6
|
ccfail001.hs:10:1: error: [GHC-89401]
• 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
|