Greetings -
I'm attempting to use the FFI in STG Hugs, but when I try and declare something
like:
import Word
foreign import ccall "foo" "Foo_Bar" bar :: Word8 -> IO()

I get the error:
Illegal outbound (away from Haskell) type "Word8"

I'm wanting Word8 to be an 8 bit unsigned integer.
Is this something that is just not implemented yet, or am I doing it wrong?

Thanks-
Brett



Reply via email to