Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

#(listlist-apply f ll) listlist-apply applies a function to a list of lists

Parameter Description
m The mapping function
ll The list of lists

Example

Example 1: Sum all elements in a list of lists.

> (define lst (list (list 1 2 3) (list 3 4 5)))
> (listlist-apply + lst)                   
18
Clone this wiki locally