Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why not add list support to erlson #13

Closed
gemSender opened this issue Dec 5, 2013 · 1 comment
Closed

Why not add list support to erlson #13

gemSender opened this issue Dec 5, 2013 · 1 comment
Labels

Comments

@gemSender
Copy link

for example:
D = [{name, <<"joe">>}, {friends, [<<"jack">>, <<"peter">>]}],
D1 = D#{friends.1 = <<"john">>},
D1 = [{name, <<"joe">>}, {friends, [<<"jack">>, <<"john">>]}].

@alavrik
Copy link
Owner

alavrik commented Dec 8, 2013

Well... Next thing you realize is that you want to also index by an arbitrary integer expression, e.g. being able to do something like D#{friends.[Expr] = <<"john">>}. Or firends.[Expr] in general. Essentially, this is similar to what another person suggested in #12 Please see my comments there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants