I\'m basically looking for an Elixir equivalent of Ruby\'s Array#sample. Something that would let me do this:
list = [1,2,3,4,5,6,7] sample(list) #=> 4 samp