We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello!
I'd like to suggest adding an automatically imported pipe-forward function to Alpaca.
let value |> func = func value
This would allow us to chain functions to avoid some unneeded variables while still writing in an easy-to-read left-to-right/top-to-bottom style. :)
"123" |> string.chars |> list.reverse |> string.join "-" -- "3-2-1"
The text was updated successfully, but these errors were encountered:
IIRC @lepoetemaudit has implemented this somewhere as a proof of concept. Might fit in with @Licenser's ideas in #184, whatever form that takes?
Sorry, something went wrong.
<3 I'm still in love with the idea if implementing part of alpaca in alpaca it feels so elegant and easy to reason about :D
No branches or pull requests
Hello!
I'd like to suggest adding an automatically imported pipe-forward function to Alpaca.
This would allow us to chain functions to avoid some unneeded variables while still writing in an easy-to-read left-to-right/top-to-bottom style. :)
The text was updated successfully, but these errors were encountered: