Daniel Mller [EMAIL PROTECTED] writes:
foreign import ccall calc :: CInt - CInt - CInt
calculate :: Int - Int - CalcType
calculate a b
| ...
| ...
| otherwise = calc a b
Unfortunately I got an error. What shall I do?
Use fromIntegral to convert between CInt and Int, and something for
On Monday 06 September 2004 14:10, Daniel Müller wrote:
I try to use a Function calc, which is written in C (CalcType = Int):
[...]
Unfortunately I got an error. What shall I do?
Telling us what the error is (cut and paste from the terminal is best) would
be a start. If the program compiles