Mercurial > hg > ishara
view general/funutils/tail_return.m @ 13:03694e5c8365
Reorganised some high order list functions to correct class-based method dispatch; fixed some docs.
author | samer |
---|---|
date | Wed, 16 Jan 2013 12:12:34 +0000 |
parents | fbc0540a9208 |
children |
line wrap: on
line source
% tail_return - Package return values for tail_feval % % tail_return :: A{1:N} -> thunk(A{1:N}). % % 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} } } % | void -> B{1:M}. function ret=tail_return(varargin), ret={0,varargin}; end