gscheme/examples/misc.scm

5 lines
64 B
Scheme
Raw Permalink Normal View History

2022-08-05 05:28:40 -04:00
(define (a x y . rest ) (+ x y (apply * rest)))
(a 1 2 3 4 5)