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

Safe HaskellNone
LanguageHaskell2010

Clr.Delegate

Documentation

class Delegate t Source #

Associated Types

type DelegateArgTypes t :: [Type] Source #

type DelegateResultType t :: Type Source #

type family DelegateArgN (t :: Type) (n :: Nat) :: Type where ... Source #

type family DelegateArity (t :: Type) :: Nat where ... Source #

delegate :: forall ds d ht bt n. (MakeT ds ~ d, Delegate d, DelegateBridgeType d ~ bt, DelegateArity d ~ n, MarshalF n ht bt, DelegateConstructorN n d, Unmarshal (BridgeType d) (Object d)) => ht -> IO (Object d) Source #