Updates to asx.fn and asx.array from my experience porting an R-Tree data structure from OCaml to AS3#3
Open
trxcllnt wants to merge 27 commits intodrewbourne:masterfrom
Open
Updates to asx.fn and asx.array from my experience porting an R-Tree data structure from OCaml to AS3#3trxcllnt wants to merge 27 commits intodrewbourne:masterfrom
trxcllnt wants to merge 27 commits intodrewbourne:masterfrom
Conversation
…s an array. It's like identity for arguments.
…laces it with a function that accepts a single Array that when invoked, calls the polyadic function with values in the Array as arguments.
…th too many arguments without you having to do know how many arguments the function accepts.
…" to the initial call and the partially applied function still works, so I believe this change is backwards compatible.
…le permutations with the number of combinations supplied. permutate(array, 2) returns the cross-product, etc.
…n value memo shouldn't be stored, the prior return values should be passed on to the next Function in the sequence.
…be taken from the head of the iterable.
…nction invocation.
…tions based on a condition function.
…lue, and returns a function that when invoked, invokes the original function and returns the supplied return value.
… a length that's a multiple of the group size.
… and returns a function that when called, maps the arguments over the list of Functions and returns the resulting array. Renames the other "distribute" function to "apply".
…guments for an instance when invoked.
…ter field and returns a function that when called with a value, sets the value into the field of the instance.
…ictionary. Adds mergeSealed to merge objects without running into problems with sealed values.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These should all be backwards compatible. I've run the tests and they still pass, except for the ThrottleTest, but I didn't touch anything in there.