www.ziglang.org icon indicating copy to clipboard operation
www.ziglang.org copied to clipboard

I searched for payload in the docs and didn't find it

Open danr opened this issue 6 years ago • 1 comments

The document talks about payloads at some places. They seem to be the ruby/rust-esque pipe-delimited blocks but it is never really defined.

danr avatar Aug 12 '19 20:08 danr

"payload" is the result of a "capture". you can see it in more detail here https://ziglang.org/documentation/master/#Keyword-Reference in the docs for if, while, switch, for, catch.

nektro avatar Sep 17 '21 22:09 nektro