Hallo,

I try to use a Function calc, which is written in C (CalcType = Int):

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?

best regards

Daniel

-- 
NEU: Bis zu 10 GB Speicher für e-mails & Dateien!
1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail

_______________________________________________
FFI mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/ffi

Reply via email to