Sorting algorithms/Insertion sort: Difference between revisions

Content added Content deleted
imported>Tromp
(Add sorting program in BLC)
imported>Tromp
mNo edit summary
Line 1,745: Line 1,745:
=={{header|Binary Lambda Calculus}}==
=={{header|Binary Lambda Calculus}}==


As documented at https://github.com/tromp/AIT/blob/master/lists/sort.lam, the 436 byte BLC program
As documented at https://github.com/tromp/AIT/blob/master/lists/sort.lam, the 55 byte BLC program


<syntaxhighlight>15 46 84 06 05 46 81 60 15 fb ec 2f 80 01 5b f9 7f 0b 7e f7 2f ec 2d fb 80 56 05 fd 85 bb 76 11 5d 50 5c 00 8b f3 ff 04 af fe 60 de 57 ff 30 5d 81 ff c2 dd 9a 28 20</syntaxhighlight>
<syntaxhighlight>15 46 84 06 05 46 81 60 15 fb ec 2f 80 01 5b f9 7f 0b 7e f7 2f ec 2d fb 80 56 05 fd 85 bb 76 11 5d 50 5c 00 8b f3 ff 04 af fe 60 de 57 ff 30 5d 81 ff c2 dd 9a 28 20</syntaxhighlight>