All permutations example in Erlang

Thanks Bogumił!

I was close… :

  • wrote isempty(l) ? [].
  • put a comma in [x,y], gives no error, but quite different output

Maybe good for a training based on debugging.