Help for this page

Select Code to Download


  1. or download this
    foo    = foldl1 f
    bar xs = foldl1 f xs    -- note: xs is free on both sides
    
  2. or download this
    foldl f   -- note: not a definition  (type is [a] -> a)