Type issue with map.m from last update. This should fix that.
Consider making this a package: put files in a directory called "+functional" and prepend "functional." to every call to a function inside. This enables us to avoid namespace clashes, e.g., by calling "functional.foldl(...)".
Only because Matlab functions all live in the same namespace, I don't like grep.m as its filename conflicts with another FEX submission, "grep: a pedestrian, very fast grep utility" (http://www.mathworks.com/matlabcentral/fileexchange/9647-grep-a-pedestrian-very-fast-grep-utility)
How has this not been 5-starred to the sky!? Thank you, I've been torturing Matlab's cellfun/arrayfun/set/get/etc. into some something functional for years, and now this!
select.m was my second function I wrote, and thus isn't very well done matlab wise. This is much super nicer. Also provides a grep, negate, and isTrue function to use with closures.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.