newPermutedListNode

fun newPermutedListNode(list: A_Phrase, permutation: A_Tuple): A_Phrase

Create a new permuted list phrase from the given list phrase and permutation. The permutation is a tuple of all integers between 1 and the tuple size, but not in ascending order.

Return

The resulting permuted list phrase.

Parameters

list

The list phrase to wrap.

permutation

The permutation to perform on the list phrase's elements.