5.0
5.0 | 4 ratings Rate this file 18 Downloads (last 30 days) File Size: 17.1 KB File ID: #18835 Version: 1.0

Functional Library

by

 

19 Feb 2008 (Updated )

Functional programming

| Watch this File

File Information
Description

Type issue with map.m from last update. This should fix that.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
21 May 2015 Ahmed Fasih

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(...)".

Comment only
09 Jan 2013 Joerg

Joerg (view profile)

 
07 Sep 2012 Mo Chen

Mo Chen (view profile)

 
15 May 2012 Ahmed Fasih

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)

Comment only
15 May 2012 Ahmed Fasih

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!

27 Mar 2008 k k  
Updates
26 Feb 2008

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.

Contact us