Last chance! 50% off unlimited learning
Sale ends in
foo =
function(x, y)
{
x + y
}
typeInfo(foo) =
SimultaneousTypeSpecification(
TypedSignature(x = "integer", y = "integer"),
TypedSignature(x = "numeric", y = "logical"))
Run the code above in your browser using DataLab