PassiveSupport.Enum.permutations

You're seeing just the function permutations, go back to PassiveSupport.Enum module for more information.
Link to this function

permutations(enum)

Specs

permutations(Enumerable.t()) :: [[any()]]

Generates a list of all possible permutations of the given enumerable.

Examples

iex> permutations(~w"hi ho hey!")
[
  ["hi", "ho", "hey!"],
  ["hi", "hey!", "ho"],
  ["ho", "hi", "hey!"],
  ["ho", "hey!", "hi"],
  ["hey!", "hi", "ho"],
  ["hey!", "ho", "hi"]
]