Mercurial > hg > ishara
view general/funutils/@function_handle/foldl.m @ 53:3ba80c9914ff
Minor doc fix, added .class to .hgignore
author | samer |
---|---|
date | Mon, 02 Feb 2015 10:47:55 +0000 |
parents | 03694e5c8365 |
children |
line wrap: on
line source
function X=foldl(fn,e,args) % foldl - Fold fom the left combinator % % foldl :: (X,Y->X), X, cells(Y) -> X. X=e; for i=1:length(args), X=fn(X,args{i}); end