Jump to content

Common list elements: Difference between revisions

Add Factor
(→‎{{header|Raku}}: Add a Raku example)
(Add Factor)
Line 8:
'''output''' = [3,6,9]
<br><br>
 
=={{header|Factor}}==
Note: in older versions of Factor, <code>intersect-all</code> was called <code>intersection</code>.
{{works with|Factor|2020-02-05}}
<lang factor>USING: prettyprint sets ;
 
{ { 2 5 1 3 8 9 4 6 } { 3 5 6 2 9 8 4 } { 1 3 7 6 9 } } intersect-all .</lang>
{{out}}
<pre>
{ 3 6 9 }
</pre>
 
=={{header|Raku}}==
1,827

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.