RosettaCodeData/Task/Permutations/LFE/permutations-2.lfe

3 lines
71 B
Plaintext

> (permute '(1 2 3))
((1 2 3) (1 3 2) (2 1 3) (2 3 1) (3 1 2) (3 2 1))