Pudu programming language
Menu
API reference

Std.Order.before

21 declarations with this name

fn

before: Std.Order.Ordering -> Bool

This is a callable function.

What it does

An ordering as the "sorts before" predicate the sorting functions take.

A sort needs one answer, not three, and this is the honest conversion:

equivalent values do not sort before one another.

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.

fn (BigInt)

before: &BigInt -> &BigInt -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (Bool)

before: &Bool -> &Bool -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (Char)

before: &Char -> &Char -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (Decimal)

before: &Decimal -> &Decimal -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (Float32)

before: &Float32 -> &Float32 -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (Float64)

before: &Float64 -> &Float64 -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (Int)

before: &Int -> &Int -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (Int128)

before: &Int128 -> &Int128 -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (Int16)

before: &Int16 -> &Int16 -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (Int32)

before: &Int32 -> &Int32 -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (Int64)

before: &Int64 -> &Int64 -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (Int8)

before: &Int8 -> &Int8 -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (Str)

before: &Str -> &Str -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (trait Ord)

before: &Self -> &Self -> Bool

This declaration defines a function required by a trait.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.
  • Self means the concrete type that implements this trait.

fn (UInt)

before: &UInt -> &UInt -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (UInt128)

before: &UInt128 -> &UInt128 -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (UInt16)

before: &UInt16 -> &UInt16 -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (UInt32)

before: &UInt32 -> &UInt32 -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (UInt64)

before: &UInt64 -> &UInt64 -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

fn (UInt8)

before: &UInt8 -> &UInt8 -> Bool

This declaration implements the function for one concrete type.

What it does

Return true when this value belongs strictly before other in the type's order.

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.
  • & borrows a value for this call instead of moving or copying it.

Back to Std.OrderSearch related declarations