5.2 Calling an function with a variable number of arguments

  • CallFuncList( func, args ) F

    returns the result, when calling function func with the arguments given in the list args. This can be used to call a function with a variable number of arguments.

    gap> CallFuncList(\+,[6,7]); 
    13
    

    [Top] [Previous] [Up] [Next] [Index]

    GAP 4 manual
    February 2000