diff general/funutils/zip.m @ 12:fbc0540a9208

Moved some high-order functions from funutils to arrutils, updated docs and cleaned up funutils.
author samer
date Mon, 14 Jan 2013 22:21:11 +0000
parents e44f49929e56
children
line wrap: on
line diff
--- a/general/funutils/zip.m	Mon Jan 14 15:52:31 2013 +0000
+++ b/general/funutils/zip.m	Mon Jan 14 22:21:11 2013 +0000
@@ -1,4 +1,7 @@
 % 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