Pudu programming language
Menu
API reference

Std.Math.subtract

1 declaration

fn

subtract: T -> T -> T where T: Sub

This is a callable function.

What it does

One value taken from another, with the arguments in the order a reader meets

them: subtract(3, 10) is seven.

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.MathSearch related declarations