clr-typed-0.2.0: A strongly typed Haskell interface to the CLR type system

Safe HaskellNone
LanguageHaskell2010

Clr.Bridge

Documentation

type family BridgeType (x :: Type) :: Type where ... Source #

type family BridgeTypePrim (x :: Type) Source #

Instances

type BridgeTypePrim (T "System.Boolean" ([] Type)) Source # 
type BridgeTypePrim (T "System.Boolean" ([] Type)) = Bool
type BridgeTypePrim (T "System.Byte" ([] Type)) Source # 
type BridgeTypePrim (T "System.Byte" ([] Type)) = Word8
type BridgeTypePrim (T "System.Char" ([] Type)) Source # 
type BridgeTypePrim (T "System.Char" ([] Type)) = Char
type BridgeTypePrim (T "System.Double" ([] Type)) Source # 
type BridgeTypePrim (T "System.Double" ([] Type)) = CDouble
type BridgeTypePrim (T "System.Int16" ([] Type)) Source # 
type BridgeTypePrim (T "System.Int16" ([] Type)) = Int16
type BridgeTypePrim (T "System.Int32" ([] Type)) Source # 
type BridgeTypePrim (T "System.Int32" ([] Type)) = Int32
type BridgeTypePrim (T "System.Int64" ([] Type)) Source # 
type BridgeTypePrim (T "System.Int64" ([] Type)) = Int64
type BridgeTypePrim (T "System.IntPtr" ([] Type)) Source # 
type BridgeTypePrim (T "System.IntPtr" ([] Type)) = IntPtr
type BridgeTypePrim (T "System.SByte" ([] Type)) Source # 
type BridgeTypePrim (T "System.SByte" ([] Type)) = Int8
type BridgeTypePrim (T "System.Single" ([] Type)) Source # 
type BridgeTypePrim (T "System.Single" ([] Type)) = CFloat
type BridgeTypePrim (T "System.UInt16" ([] Type)) Source # 
type BridgeTypePrim (T "System.UInt16" ([] Type)) = Word16
type BridgeTypePrim (T "System.UInt32" ([] Type)) Source # 
type BridgeTypePrim (T "System.UInt32" ([] Type)) = Word32
type BridgeTypePrim (T "System.UInt64" ([] Type)) Source # 
type BridgeTypePrim (T "System.UInt64" ([] Type)) = Word64
type BridgeTypePrim (T "System.UIntPtr" ([] Type)) Source # 
type BridgeTypePrim (T "System.UIntPtr" ([] Type)) = WordPtr
type BridgeTypePrim (T "System.Void" ([] Type)) Source # 
type BridgeTypePrim (T "System.Void" ([] Type)) = ()

type family BridgeTypeObject (x :: Type) Source #

type family BridgeTypeL (a :: [Type]) :: [Type] where ... Source #

Equations

BridgeTypeL '[] = '[] 
BridgeTypeL (x ': xs) = BridgeType x ': BridgeTypeL xs 

type family BridgeTypes (x :: [Type]) :: Type where ... Source #