Stream: beginners

Topic: |> problem


view this post on Zulip Artur Swiderski (Jun 04 2023 at 15:00):

I want to do something like this

result =  something
|> op1
|> op2
|> op3

another  words I want to wrap up what this pipe is doing under some  name

view this post on Zulip Luke Boswell (Jun 04 2023 at 15:21):

Should work ok, I think you just need to indent the lines with |>. Normally I think you would also moce the something to next line and indent too.

view this post on Zulip Artur Swiderski (Jun 04 2023 at 15:31):

ok when I corrected indentation it started to work thx I missed that feature

view this post on Zulip Anton (Jun 05 2023 at 09:42):

I've made an issue to improve the error message for under-indented lines.


Last updated: Jul 06 2025 at 12:14 UTC