|
|
|
|
Synopsis |
|
|
|
Documentation |
|
|
permute [2,3,1] [x,y,z] = [y,z,x] | Constructors | |
|
|
|
permute [2,3,1] [x1,x2,x3] = [x2,x3,x1]
More precisely, permute indices list = sublist, generates sublist
from list by picking the elements of list as indicated by indices.
permute [2,4,1] [x1,x2,x3,x4] = [x2,x4,x1]
|
|
|
|
|
|
|
permute (compose p1 p2) == permute p1 . permute p2 |
|
|
|
|
Turn a possible non-surjective permutation into a surjective permutation.
|
|
|
|
|
expandP i n in the domain of replace the ith element by n elements.
|
|
|
Stable topologic sort. The first argument decides whether its first
argument is an immediate parent to its second argument.
|
|
Produced by Haddock version 2.6.1 |