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
This:
hashTable applyPairs({10,20,30}, identity)
should act like this:
i12 : hashTable toList apply(pairs {10,20,30}, identity) o12 = HashTable{0 => 10} 1 => 20 2 => 30
The text was updated successfully, but these errors were encountered:
Probably the same for selectPairs and scanPairs.
selectPairs
scanPairs
Would it be better to turn this into methods, or implement the list versions in the interpreter?
Sorry, something went wrong.
Between methods or interpreter, I'm not sure which is better.
By the way, you could define pairs Iterator to give a new iterator and define applyPairs for an iterator.
pairs Iterator
applyPairs
No branches or pull requests
This:
should act like this:
The text was updated successfully, but these errors were encountered: