Order two numerical lists: Difference between revisions

Content added Content deleted
(→‎{{header|Julia}}: A new entry for Julia)
Line 912: Line 912:


<lang ocaml>val ordered_lists : 'a list * 'a list -> bool</lang>
<lang ocaml>val ordered_lists : 'a list * 'a list -> bool</lang>

=={{header|Oforth}}==

In Oforth, list comparison is already defined.

{{Out}}
<pre>
[1,2,0,4,4,0,0,0] [1,2,1,3,2] <= .
1 ok
</pre>


=={{header|PARI/GP}}==
=={{header|PARI/GP}}==