C.Types

"Daniel Müller" danielmu at gmx.de
Mon Sep 6 09:10:28 EDT 2004


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




More information about the FFI mailing list