<<1, 2, 3, 4, 5>>
2) When S={1,2,3,4,5,6,7,8,9,10} then I get the error "Attempted to construct a set with too many elements (>1000000).".
This error is understandable (10! > 1000000). However, I was wondering if there is a way to generate permutations one per step without a priori generating the complete set of all permutations? This could be useful in simulation mode.---------------------------- MODULE PermTest ----------------------------
EXTENDS TLC