-
Notifications
You must be signed in to change notification settings - Fork 68
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
append should be renamed to prepend #249
Comments
I'm not sure that's right - we generally try put the data last with functional APIs since that's what usually varies the most. If the function wasn't curried I'd agree more, but I think from an fp API perspective, you expect it to be |
I think |
That makes sense and I'm ok with this, but it's a breaking change and should probably wait for a 2.0 release with a few more changes. Alternatively, we might just want to deprecate |
I'd love to have both |
https://smartprocure.github.io/futil-js/#api-lang-append
Given the order of concatenation is reversed from the order of the arguments, this would be better described as prepend instead of append.
The text was updated successfully, but these errors were encountered: