F# – counting inversions

This is a F# imple­men­ta­tion of the fast algo­rithm to count the num­ber of inver­sions in an array, out­lined in the Algo­rithms : Design and Analy­sis Part 1 course on Cours­era.