Skip to content

Conversation

@mkantor
Copy link
Owner

@mkantor mkantor commented Dec 10, 2024

Higher-order non-commutative functions like this should always take their "first" argument in their last application to make function composition more natural. The function :flow({ :string.concatenate(a) :string.concatenate(b) }) should add ab to the end of its argument.

@mkantor mkantor merged commit bc4019d into main Dec 10, 2024
1 check passed
@mkantor mkantor deleted the fix-string-concatenate-arguments branch December 10, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants