How can we create a nested keyword list from the following list. The list length can change with time.
[:a, :b, :c, :d, :e, :f]
how can we convert it to
[a: [b: [c: [d: [e: [f: [ true ] ]]]]]]
Is it possible with elixir as I tried to use recursion but it’s not working as expected.