5 lines
64 B
Scheme
5 lines
64 B
Scheme
|
|
||
|
(define (a x y . rest ) (+ x y (apply * rest)))
|
||
|
(a 1 2 3 4 5)
|
||
|
|