sum_list   scheme


Defined in:  https://github.com/lambdamusic/extempore-extensions/blob/main/init/init_lisp.xtm

Implementation

(define sum_list
  (lambda (lst)
    (foldl (lambda (a b) (+ a b)) 0 lst)))


Back to Index

Similar Entries