Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

infix |||>

infix |||>

(A 
type
, B 
type
, C 
type
, R 
type
, a tuple A B C, f Function R A B C)
 => 
R
[Contains abstract features]
infix |||> -- pipe with a three-tuple argument, destructuring the tuple into arguments

This allows changing the order of function application: instead of

f(a,b,c i32) => a+b+c
t := (1,2,3)
r := f t.0 t.1 t.2

you can write

f(a,b,c i32) => a+b+c
t := (1,2,3)
r := t |||> f

which often correponds more naturally to the data flow through the code.

Type Parameters

0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)