Sorting algorithms/Bubble sort: Difference between revisions
Content added Content deleted
(Added Standard ML solution) |
m (Added assumption to Standard ML solution) |
||
Line 3,125: | Line 3,125: | ||
=={{header|Standard ML}}== |
=={{header|Standard ML}}== |
||
Assumes a list of integers. |
|||
<pre> |
<pre> |
||
fun bubble [] = [] |
fun bubble [] = [] |