<?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>List | List -- join lists, sequences or arrays</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_mingle.html">next</a> | <a href="_join.html">previous</a> | <a href="_mingle.html">forward</a> | <a href="_join.html">backward</a> | <a href="_lists_spand_spsequences.html">up</a> | <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> <div><a href="index.html" title="">Macaulay2Doc</a> > <a href="___The_sp__Macaulay2_splanguage.html" title="">The Macaulay2 language</a> > <a href="_lists_spand_spsequences.html" title="">lists and sequences</a> > <a href="___List_sp_vb_sp__List.html" title="join lists, sequences or arrays">List | List</a></div> <hr/> <div><h1>List | List -- join lists, sequences or arrays</h1> <div class="single"><h2>Synopsis</h2> <ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>v|w</tt></div> </dd></dl> </div> </li> <li><span>Operator: <a href="__vb.html" title="a binary operator, often used for horizontal concatenation">|</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>v</tt>, <span>a <a href="___List.html">list</a></span>, <span>an <a href="___Array.html">array</a></span>, or <span>a <a href="___Sequence.html">sequence</a></span></span></li> <li><span><tt>w</tt>, of the same type as <tt>v</tt></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span>The join of the lists, sequences or arrays.</span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><table class="examples"><tr><td><pre>i1 : {1,2,3}|{4,5,6} o1 = {1, 2, 3, 4, 5, 6} o1 : List</pre> </td></tr> </table> <table class="examples"><tr><td><pre>i2 : (a,b,c)|(1,2) o2 = (a, b, c, 1, 2) o2 : Sequence</pre> </td></tr> </table> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_join.html" title="join lists">join</a> -- join lists</span></li> </ul> </div> </div> </body> </html>