I would like to gather all permutations of a certain number of elements of a set. I read that Combinatorics.jl can be used for that. However, I do not know how to use it. I do the following
using Combinatorics: permutations
p = permutations((-1, 1), 3)
and p is of the type Combinatorics.Permutations{Tuple{Int64, Int64}}. How am I supposed to probe this object to get my permutations?