% tail_eval - Evaluate thunk
% 
% tail_eval :: thunk(B{1:M}) -> B{1:M}.
function varargout=tail_eval(thunk)
	if isnumeric(thunk{1}), varargout=thunk{2}; 
	else
		[varargout{1:nargout}]=feval(thunk{1},thunk{2}{:});
	end
end
			
			
