We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tiniest inconvenience:
i1 : hashTable pairs {1,2,3} stdio:1:9:(3): error: expected 1 or 2 arguments i2 : hashTable toList pairs {1,2,3} o2 = HashTable{0 => 1} 1 => 2 2 => 3 o2 : HashTable
This is tricky to fix without breaking (hashTable, Function, List).
(hashTable, Function, List)
Oddly though, this works:
i1 : hashTable pairs hashTable { 1 => 2, 2 => 3 } o1 = HashTable{1 => 2} 2 => 3 o1 : HashTable
So why does pairs return a sequence for lists but a list for hash tables? I will update the title now.
pairs
The text was updated successfully, but these errors were encountered:
This is a super easy fix -- I added a commit to #3617
Sorry, something went wrong.
I agree that it's easy, I hope it doesn't break anything!
No branches or pull requests
Tiniest inconvenience:
This is tricky to fix without breaking
(hashTable, Function, List)
.Oddly though, this works:
So why does
pairs
return a sequence for lists but a list for hash tables? I will update the title now.The text was updated successfully, but these errors were encountered: