heap sort in ML · Dec 23, 2009
This past semester for my programming languages class, we had to implement heap sort in Standard ML. This is my implementation, which I release under the GNU General Public License v3. I split the code into two separate files: shared.ml and heap_sort.ml, where shared.ml contains functions that might be of use with other sorting algorithms and heap_sort.ml contains functions and code specific to heap sort.
One Programmer's Ideal Language · Dec 7, 2009
This essay was originally written for my graduate-level programming languages class.