(2,3)&lt;(1,3,2),(1,2,3)&lt;(1,3)</code></pre><p>The  output is not so nice, showing permutations instead of words. This can be fixed by defining:</p><pre><code class="language-julia-repl hljs">julia&gt; p.show_element=(io,x,n)-&gt;join(io,word(W,x.elements[n]));

julia&gt; p
&lt;1,2&lt;12,21&lt;121

julia&gt; W=coxsym(4)
ùîñ ‚ÇÑ

julia&gt; bruhatPoset(W,W(1,3))
.&lt;3,1&lt;13</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/jmichel7/Chevie.jl/blob/fbddb048572e