{-# OPTIONS -fno-implicit-prelude #-}
module PrelCCall (
- CCallable(..), CReturnable(..),
- Word(..)
+ CCallable(..),
+ CReturnable(..)
) where
import PrelBase
\begin{code}
instance CCallable Char
-instance CCallable Char#
instance CReturnable Char
instance CCallable Int
-instance CCallable Int#
instance CReturnable Int
-- DsCCall knows how to pass strings...
instance CCallable [Char]
instance CCallable Float
-instance CCallable Float#
instance CReturnable Float
instance CCallable Double
-instance CCallable Double#
instance CReturnable Double
-data Word = W# Word# deriving (Eq, Ord) -- Glasgow extension
-
-instance CCallable Word
-instance CCallable Word#
-instance CReturnable Word
-
instance CReturnable () -- Why, exactly?
\end{code}