Mercurial > hg > ishara
view general/funutils/zip.m @ 27:5de03f77dae1
Added documentation about types and revised arrow type specifications.
author | samer |
---|---|
date | Sat, 19 Jan 2013 14:22:09 +0000 |
parents | fbc0540a9208 |
children |
line wrap: on
line source
% zip - Polymorphic zip using zipwith(@tuple,...) % % zip :: seq(A1), seq(A2), ... -> seq(cell {A1,A2,..}). % zip :: cells(A1), cells(A2), ... -> cells(cell {A1,A2,..}). function y=zip(varargin) y=zipwith(@tuple,varargin{:}); end