Skip to content

How to pipe? #217

Answered by aleclarson
yamcodes asked this question in Q&A
Aug 23, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hey @yamcodes, thanks for bringing this up. Your example appears to be an anti-pattern, since tree-shaking wouldn't be possible. However, I'd be open to a PR that makes it easier to combine Radashi functions with chain and compose (presumedly by re-arranging the data arguments to be last in an optional radashi/fp submodule).

Alternatively, there are many popular, actively maintained, FP-focused libraries to choose from, like fp-ts or ramda (though I can't vouch for their quality). As such, it's not an explicit goal of Radashi to compete in that arena.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@yamcodes
Comment options

@aleclarson
Comment options

Answer selected by aleclarson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants