Generating Function Prototypes

Malcolm Wallace Malcolm.Wallace at
Thu Jul 4 07:10:25 EDT 2002

Alastair Reid <reid at> writes:

>   foreign import foo :: Float -> Char
>       extern HsChar ffi_generated_foo(HsChar arg1);

Errm, shouldn't that be:

        extern HsChar ffi_generated_foo(HsFloat arg1);
??  Or is there some other trick involved here?

More information about the FFI mailing list