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

infix ||||||>

infix ||||||>

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

This allows changing the order of function application: instead of

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

you can write

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