futhask-base-0.1.0.0: src/Futhask/PrimTypes.hs
{-|
Type synonyms to more closely resemble futhark types.
-}
module Futhask.PrimTypes (F16,F32,F64,I8,I16,I32,I64,U8,U16,U32,U64,CBool(..)) where
import qualified Data.Int as I
import qualified Data.Word as U
import qualified GHC.Float as F
import qualified Numeric.Half as F
import Foreign.C.Types (CBool(..))
type F16 = F.Half
type F32 = F.Float
type F64 = F.Double
type I8 = I.Int8
type I16 = I.Int16
type I32 = I.Int32
type I64 = I.Int64
type U8 = U.Word8
type U16 = U.Word16
type U32 = U.Word32
type U64 = U.Word64