Language.Embedded.Imperative.Args
Description
Various types of function arguments
data RefArg pred where Source #
Reference argument
Constructors
Defined in Language.Embedded.Imperative.Args
Methods
mkArg :: RefArg ct -> CGen Exp Source #
mkParam :: RefArg ct -> CGen Param Source #
data ArrArg pred where Source #
Mutable array argument
mkArg :: ArrArg ct -> CGen Exp Source #
mkParam :: ArrArg ct -> CGen Param Source #
data IArrArg pred where Source #
Immutable array argument
mkArg :: IArrArg ct -> CGen Exp Source #
mkParam :: IArrArg ct -> CGen Param Source #
data PtrArg pred where Source #
Pointer argument
mkArg :: PtrArg ct -> CGen Exp Source #
mkParam :: PtrArg ct -> CGen Param Source #
data ObjArg pred where Source #
Abstract object argument
mkArg :: ObjArg pred -> CGen Exp Source #
mkParam :: ObjArg pred -> CGen Param Source #
data StrArg pred where Source #
Constant string argument
mkArg :: StrArg pred -> CGen Exp Source #
mkParam :: StrArg pred -> CGen Param Source #
data ConstArg pred where Source #
Fields
mkArg :: ConstArg pred -> CGen Exp Source #
mkParam :: ConstArg pred -> CGen Param Source #