jesusabdullah edited this page Sep 14, 2010 · 5 revisions
Clone this wiki locally

data.list —> http://www.haskell.org/ghc/docs/6.12.2/html/libraries/base-
functools —> http://docs.python.org/library/functools.html
itertools —> http://docs.python.org/library/itertools.html (Does MATLAB have the concept of a generator?)

Functions to Add Eventually (mostly just ideas):

[NOP] zip(x,y)=[x,y] <—kinda silly actually, since zip(x,y)=[x’ y’] (it’s pretty “duh”)
[NOP] zipWith(f,x,y)=f(x’,y’)<—also kinda silly
unfold*()? Maybe not.
permutations() & combinations() (may already exist)
intersperse(‘,’,[1,2,3,4])=“1,2,3,4” is just like my “join” but has a better name
iterate? Mebbs?

intersect() <—these may already exist in matlab

PARTIAL <—this is basically @(x) fxn(x,y,z), but could be worth investigating anyways

dropWhile & takeWhile?