wrap

fun <C : ExecutionContext> wrap(signature: Signature, primitive: Primitive): PrimitiveWrapper<C>

Utility factory to build a PrimitiveWrapper out of a Signature and a Primitive function


fun <C : ExecutionContext> wrap(    name: String,     arity: Int,     vararg: Boolean,     primitive: Primitive): PrimitiveWrapper<C>
fun <C : ExecutionContext> wrap(    name: String,     arity: Int,     primitive: Primitive): PrimitiveWrapper<C>

Utility factory to build a PrimitiveWrapper out of a Primitive function