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

Map insertion doesn't insert correctly #523

Closed
tankorsmash opened this issue Jul 6, 2024 · 2 comments
Closed

Map insertion doesn't insert correctly #523

tankorsmash opened this issue Jul 6, 2024 · 2 comments

Comments

@tankorsmash
Copy link
Contributor

pad

[1_2 2_3 3_4]
"abc"
map

insert @b [9 9] # doesnt change the @b value as expected
&p.
insert @a [9 9] # does change @a as expected

I would have expected the @b value to be [9 9] instead of these following values getting split across lines for the first print:

stdout:
╭─            
╷ @a → [1 9]  
  @b → [9 3]  
  @c → [3 4]  
             ╯

having single elements as values seems to work fine though pad

@kaikalii
Copy link
Member

kaikalii commented Jul 6, 2024

Fixed in 0065e0b

@kaikalii kaikalii closed this as completed Jul 6, 2024
@tankorsmash
Copy link
Contributor Author

tankorsmash commented Jul 6, 2024 via email

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