Pudu programming language
Menu
API reference

Std.Function.pipe

1 declaration

fn

pipe: fn(A) -> B -> fn(B) -> C -> A -> C

This is a callable function.

What it does

One function after another, reading left to right.

pipe(f, g, x) is g(f(x)), which is the order a reader follows data.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.

Back to Std.FunctionSearch related declarations