Artifact 381e27f1c0d94e9850f109053c58f6b7c1e212e47014a3694c0de76d71ff76df:
- Executable file
r37/lisp/csl/html/r37_0057.html
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 833) [annotate] [blame] [check-ins using] [more...]
<A NAME=REST> <TITLE>REST</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>REST</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> <P> <P> The <em>rest</em> operator returns a <A HREF=r37_0053.html>list</A> containing all but the first element of the list it is given. <P> <H3> syntax: </H3> <P> <P> <em>rest</em>(<list>) or <em>rest</em> <list> <P> <P> <P> <P> <list> must be a non-empty list, but need not have more than one element. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> alist := {a,b,c,d}; ALIST := {A,B,C,D}; rest alist; {B,C,D} blist := {x,y,{aa,bb,cc},z}; BLIST := {X,Y,{AA,BB,CC},Z} second rest blist; {AA,BB,CC} clist := {c}; CLIST := C rest clist; {} </TT></PRE><P>