Piping into a lambda with -> should work right?
» lst.map(|_| "zzz ").join_with(" ").trim()->(|trimmed_str| {if trimmed_str.is_empty() "" else "bla"})
**PARSE ERROR**
A parsing error occurred: `expr_arrow_expects_ident`
This is an unexpected parsing error. Please check your syntax.
it should!
but we probably never supported it
I can implement this later today.
fixed in https://github.com/roc-lang/roc/pull/9197
Thanks Luke :)
I added a complex pipeline demo to the all syntax example: #9199
Last updated: Mar 20 2026 at 12:28 UTC