Artifact 4110508a917bec44fc0402ae9277ac70108297df80c67ce6de880ddec5c1c694:
- Executable file
r37/lisp/csl/html/r37_0062.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: 1024) [annotate] [blame] [check-ins using] [more...]
<A NAME=Optional_Free_Variable> <TITLE>Optional_Free_Variable</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>OPTIONAL FREE VARIABLE</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>type</B><P> <P> <P> <P> A variable preceded by a double tilde is considered as <em>optional free variable</em><P> <P> and stands for an arbitrary part part in an algebraic form during pattern matching. In contrast to ordinary <A HREF=r37_0061.html>free variable</A>s an operator pattern with an <em>optional free variable</em> matches also if the operand for the variable is missing. In such a case the variable is bound to a neutral value. Optional free variables can be used as <P> <P> term in a sum: set to 0 if missing, <P> <P> factor in a product: set to 1 if missing, <P> <P> exponent: set to 1 if missing <P> <P> <P> <H3> examples: </H3> <P><PRE><TT></TT></PRE><P>Optional free variables are allowed only in the left-h and sides of <A HREF=r37_0060.html>rule</A>s. <P> <P>