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

infix |||||>

infix |||||>

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

This allows changing the order of function application: instead of

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

you can write

f(a,b,c,d,e i32) => a+b+c+d+e
t := (1,2,3,4,5)
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)