using a variable inside a tuple key fails, also I think the error message about the pin operator is now invalid.
iex > val = "xxx"
iex > path :x / {:foo, val}
** (CompileError) cannot use variable val as map key inside a pattern. Map keys in patterns can only be literals (such as atoms, strings, tuples, and the like) or an existing variable matched with the pin operator (such as ^some_var)
but wrapping the tuple in a variable works just fine
Great Library!
using a variable inside a tuple key fails, also I think the error message about the pin operator is now invalid.
but wrapping the tuple in a variable works just fine