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
Hash slice with structured list does not come out structured / adverbs do not work #6418
Comments
From @zoffixznetIf you give a structured list as an Array slice, you get structured data back: my @a = 'a'..'z'; But if you give the same type of structured list to a hash slice, you get flat data back: I'd expect the hash slice to be equally structured and give this back: # OUTPUT: (("b", "d", "f"), (("h", "j", "l"), ("n", ("p")))) |
From @zoffixznetTurns out the rabbit hole goes deeper. Adverbs appear to not work if slice is structured: my %a = 'a'..'z'; Shouldn't it give structured `kv` data back and delete at least some keys? |
From @lizmat
I wonder whether we shouldn’t make all of the slicing lazy. So instead of returning a reified List, it would return a Seq. |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#131826 (status was 'open')
Searchable as RT131826$
The text was updated successfully, but these errors were encountered: