I just took some time to read the static dispatch proposal https://docs.google.com/document/d/1OUd0f4PQjH8jb6i1vEJ5DOnfpVBJbGTjnCakpXAYeT8/edit?tab=t.0#heading=h.vuo6e14bvfkt
My opinion is I only like the static dispatch part, and not the syntax changes. I would much prefer keeping the pipe and spaces plus partial application with holes.
"Hello"
|> replaceEach "l" "p"
|> replaceFirst "e" "i"
[-2, 0, 2] |> map (abs _ - 1)
If the reason is only "better autocomplete" with editors or "familiarity for OO programmers", it’s short-sighted IMO, because we can both improve autocomplete logic to recognize pipes, and in a world where LLMs are getting embedded in editors, we are starting to get much more powerful autocomplete abilities.
Spaces are much cleaner for the reader than parenthesis everywhere. It’s a clear syntax regression in my view.
Richard Feldman said:
I know I rarely do the explicit "this is the way forward" thing, but it seems like this is a case where we need a really clear decision, so:
let's plan for Roc 0.1.0 to support parens-and-commas calling, and not whitespace calling.
After tons and tons of discussion on the subject, we're taking a break from yakshaving this one because we're pretty confident that Roc will be moving forwards with parentheses longterm
Maybe in the future we revisit this discussion, but just to set expectations, we won't be changing our decision on this during these next 6 months at least, while we focus our efforts strongly on rewriting the compiler
Consider reading the "reflecting on static dispatch" topic
Understood. I still wanted to express my thoughts.
Glad to have you do so!
Just wanted to set expectations
Sam Mohr said:
Consider reading the "reflecting on static dispatch" topic
I started to, but it was way to long for me to actually do, it’s why I opened a new thread.
I'm resolving all WSA defense/discussion threads in order to transition us into planning this: #contributing > deprecating WSA (whitespace application for function calls)
If you feel there's more to say here, feel free to un-resolve it!
JanCVanB has marked this topic as resolved.
Last updated: Jun 16 2026 at 16:19 UTC