Apply


Applies a function to a list



    (apply function list)
  • the elements of list are supplied as arguments to function



  • Examples

      (apply '* '(1 2 3 4))

      (apply 'max '(2 4 3 8))

      (eval (cons 'max '(2 4 3 8)))

    This website has been archived and is no longer maintained.