Random Latin squares: Difference between revisions

Content added Content deleted
m (→‎{{header|Perl 6}}: demo argument order agnosticism)
Line 100: Line 100:


# Specified size
# Specified size
display random :size($_), latin-square for 3, 3, 9, 14;</lang>
display random :size($_), latin-square for 3, 3;

# Or, if you'd prefer:
display random latin-square, :size($_) for 9, 14;</lang>
{{out|Sample output}}
{{out|Sample output}}
<pre> Ř ŝ ŷ ű ŭ
<pre> Ř ŝ ŷ ű ŭ