Calculating permutations in F#

Posted by Benjol on Stack Overflow See other posts from Stack Overflow or by Benjol
Published on 2008-11-13T07:21:54Z Indexed on 2010/04/14 10:13 UTC
Read the original article Hit count: 432

Filed under:
|
|

Inspired by this question and answer, how do I create a generic permutations algorithm in F#? Google doesn't give any useful answers to this.

EDIT: I provide my best answer below, but I suspect that Tomas's is better (certainly shorter!)

© Stack Overflow or respective owner

Related posts about F#

Related posts about permutation