Reverse[optional A: (Real[A] val & (I8 val | I16 val | I32 val | I64 val | I128 val | ILong val | ISize val | U8 val | U16 val | U32 val | U64 val | U128 val | ULong val | USize val | F32 val | F64 val))]

Produces [max, min].

class ref Reverse[optional A: (Real[A] val & (I8 val | I16 val | I32 val | 
    I64 val | I128 val | ILong val | 
    ISize val | U8 val | U16 val | 
    U32 val | U64 val | U128 val | 
    ULong val | USize val | F32 val | 
    F64 val))] is
  Iterator[A] ref

Implements


Constructors

create

new ref create(
  max: A,
  min: A,
  dec: A = seq)
: Reverse[A] ref^

Parameters

  • max: A
  • min: A
  • dec: A = seq

Returns


Public Functions

has_next

fun box has_next()
: Bool val

Returns


next

fun ref next()
: A

Returns

  • A

rewind

fun ref rewind()
: None val

Returns