r  words  of  elements  of  <code>W</code>  by  increasing length. If the second argument  is an integer <code>l</code>, only the  elements of length <code>l</code> are returned; this works for infinite Coxeter groups.</p><pre><code class="language-julia_repl hljs">julia&gt; W=coxgroup(:G,2)
G‚ÇÇ

julia&gt; e=elements(W,6)
1-element Vector{Perm{Int16}}:
 (1,7)(2,8)(3,9)(4,10)(5,11)(6,12)

julia&gt; e[1]==longest(W)
true</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.co