File r37/lisp/csl/html/r37_0303.html artifact 6d767cc628 part of check-in 8e196c7117



<A NAME=LISTARGS>

<TITLE>LISTARGS</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>



<B>LISTARGS</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>switch</B><P>
<P>
 
 <P>
<P>
If an operator other than those specifically defined for lists is given a 
single argument that is a list, then the result of this operation will be 
a list in which that operator is applied to each element of the list. 
This process can be inhibited globally by turning on the switch 
<em>listargs</em>. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>
log {a,b,c}; 

  LOG(A),LOG(B),LOG(C) 


on listargs; 

log {a,b,c}; 

  LOG(A,B,C)

</TT></PRE><P>It is possible to inhibit such distribution for a specific operato
r by 
using the declaration 
<A HREF=r37_0203.html>listargp</A>. In addition, if an operator has 
more than one argument, no such distribution occurs, so <em>listargs</em> 
has no effect. 
<P>
<P>
<P>


REDUCE Historical
REDUCE Sourceforge Project | Historical SVN Repository | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]