LinkedListIndexed
A module that turns a class into a collection of linked lists where each list is composed of instances of the same index.
This will be useful for closureFrames and closureKeyPresses.
Not sure about the name.
This will be useful for closureFrames and closureKeyPresses.
It should also be able to be used in ClosureEvents right?
Yeah and others if needed
@WareditorGit can you fix eof lf? should adhere to editorconfig. Did you have any further ideas about other names?
Sorry, I am away from my comp during this period. Will work on this when I get back.
@WareditorGit I could also merge like this or are there changes u want to make besides name?
No changes. However I agree that it's might be too peculiar to include in the std lib and might add some unrequired abstraction.
What's the point of not having it in stdlib if we plan to use it in stdlib?
I am saying maybe not use it if it's only for those few cases.
Will this work for destroying listeners during a callback without temp var? I still want to merge tbh.
bump
What's the point of not having it in stdlib if we plan to use it in stdlib?
If you plan to use in stdlib then it should be in stdlib.
It would be interesting to see a concrete stdlib change - in this PR - that moves old code to using this new feature.
I actually like this, but the hashmaps seem overkill, why not just use module attribute. Might fix and merge.