| proc x0
{
// can be called with
... // any number of arguments of any type: #[1], #[2],...
// number of arguments: size(#)
}
proc x1 ()
{
... // can only be called without arguments
}
proc x2 (ideal i, int j)
{
... // can only be called with 2 arguments,
// which can be converted to ideal resp. int
}
proc x3 (i,j)
{
... // can only be called with 2 arguments
// of any type
// (i,j) is the same as (def i,def j)
}
proc x5 (i,list #)
{
... // can only be called with at least 1 argument
// number of arguments: size(#)+1
}
|