Sorting algorithms/Insertion sort: Difference between revisions
Content deleted Content added
No edit summary |
m combined the two Scala header entries into one header, named the two entries Version 1 and Version 2. |
||
Line 2,849: | Line 2,849: | ||
=={{header|Scala}}== |
=={{header|Scala}}== |
||
===version 1=== |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
===version 2=== |
|||
Copied from SASL manual, Appendix II, answer (2)(a) |
Copied from SASL manual, Appendix II, answer (2)(a) |
||
<lang SASL> |
<lang SASL> |
||
Line 2,858: | Line 2,867: | ||
b : insert a x |
b : insert a x |
||
?</lang> |
?</lang> |
||
=={{header|Scala}}== |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|Scheme}}== |
=={{header|Scheme}}== |