Sorting Algorithms in F#

After a long East­er hol­i­day filled with late night cod­ing ses­sions I find myself wide awake at 2am… good job I’ve still got my plu­ral­sight sub­scrip­tion and a quick look at the Algo­rithms and Data Struc­tures course again at least gave me some­thing to do to relax the mind with some back-to-school style imple­men­ta­tion of com­mon sort­ing algo­rithms in F#:

Whilst not the most per­for­mant imple­men­ta­tions I’m sure, I hope at least it goes to show how eas­i­ly and con­cise­ly these sim­ple algo­rithms can be expressed in F#! Now back to that sleep thing…

Liked this post? Why not support me on Patreon and help me get rid of the ads!