C.Types
"Daniel Müller" <[email protected]> Mon, 6 Sep 2004 15:10:28 +0200 (MEST)
| Newsgroups | gmane.comp.lang.haskell.ffi |
|---|---|
| Message-ID | <[email protected]> |
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