Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 3920

Macaulay2-1.3.1-8.fc15.i686.rpm

<?xml version="1.0" encoding="utf-8" ?>  <!-- for emacs: -*- coding: utf-8 -*- -->
<!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"	 "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head><title>WrapperType -- a class of lists with abbreviated constructors</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_xor.html">next</a> | <a href="_wrap.html">previous</a> | <a href="_xor.html">forward</a> | <a href="_wrap.html">backward</a> | up | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div>

    </td>
  </tr>
</table>
<hr/>
<div><h1>WrapperType -- a class of lists with abbreviated constructors</h1>
<div class="single"><h2>Description</h2>
<div>These are the types <tt>X</tt> of lists that can be constructed by expressions of the form <tt>X {a,b,c,...}</tt>, or, for lists of length one, by an expression of the form <tt>X a</tt>.  They also act on sequences.<p/>
<table class="examples"><tr><td><pre>i1 : X = new WrapperType of BasicList

o1 = X

o1 : WrapperType</pre>
</td></tr>
<tr><td><pre>i2 : X {a,b,c}

o2 = X{a, b, c}

o2 : X</pre>
</td></tr>
<tr><td><pre>i3 : X a

o3 = X{a}

o3 : X</pre>
</td></tr>
</table>
</div>
</div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="___Header__Type.html" title="a class of lists with abbreviated constructors">HeaderType</a> -- a class of lists with abbreviated constructors</span></li>
<li><span><a href="___Self__Initializing__Type.html" title="the class of all self initializing types">SelfInitializingType</a> -- the class of all self initializing types</span></li>
</ul>
</div>
<div class="waystouse"><h2>Methods that use a wrapper type :</h2>
<ul><li>WrapperType List</li>
<li>WrapperType Sequence</li>
<li>WrapperType Thing</li>
</ul>
<h2>Fixed objects of class WrapperType :</h2>
<ul><li><span><a href="___Holder.html" title="the class of all holder expressions">Holder</a> -- the class of all holder expressions</span></li>
<li><span><a href="___Minus.html" title="the class of all minus expressions">Minus</a> -- the class of all minus expressions</span></li>
<li><span><a href="___Non__Associative__Product.html" title="the class of all nonassociative product expressions">NonAssociativeProduct</a> -- the class of all nonassociative product expressions</span></li>
<li><span><a href="___Parenthesize.html" title="">Parenthesize</a></span></li>
<li><span><a href="___Product.html" title="the class of all product expressions">Product</a> -- the class of all product expressions</span></li>
<li><span><a href="___Sum.html" title="the class of all sum expressions">Sum</a> -- the class of all sum expressions</span></li>
</ul>
</div>
<div class="waystouse"><h2>For the programmer</h2>
<p>The object <a href="___Wrapper__Type.html" title="a class of lists with abbreviated constructors">WrapperType</a> is <span>a <a href="___Type.html">type</a></span>, with ancestor classes <a href="___Type.html" title="the class of all types">Type</a> &lt; <a href="___Mutable__Hash__Table.html" title="the class of all mutable hash tables">MutableHashTable</a> &lt; <a href="___Hash__Table.html" title="the class of all hash tables">HashTable</a> &lt; <a href="___Thing.html" title="the class of all things">Thing</a>.</p>
</div>
</div>
</body>
</html>