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

list concatenation with + not handled properly #80

Open
theweaklink opened this issue Dec 24, 2023 · 1 comment
Open

list concatenation with + not handled properly #80

theweaklink opened this issue Dec 24, 2023 · 1 comment

Comments

@theweaklink
Copy link

hi,

maybe similar to #69 :

pj -s '["item1"] + ["item2"]'
# returns: (["item1"] + ["item2"]);

however in JS: (["item1"] + ["item2"]) yields item1item2 and the expected Python result is ["item1", "item2"]

I guess the + should be interpreted as .concat() instead?

thanks

@azazel75
Copy link
Collaborator

Thanks, should be as you said..and probably for the literal lists a specialization can be made...

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

No branches or pull requests

2 participants