Mercurial > hg > ishara
diff general/funutils/tail_return.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/tail_return.m Mon Jan 14 15:52:31 2013 +0000 +++ b/general/funutils/tail_return.m Mon Jan 14 22:21:11 2013 +0000 @@ -5,5 +5,5 @@ % thunk(B{1:M}) ::= % exists C{1:L} . cell { C{1:L}->B{1:M}, cell { C{1:L} } } % | cell { {0}, cell { B{1:L} } } -% | unit -> B{1:M}. +% | void -> B{1:M}. function ret=tail_return(varargin), ret={0,varargin}; end