product ( seq -- n )
Factor handbook » The language » Collections » Sequence operations » Sequence combinators

Prev:sum ( seq -- n )
Next:any? ( ... seq quot: ( ... elt -- ... ? ) -- ... ? )


Vocabulary
sequences

Inputs
seqa sequence of numbers


Outputs
na number


Word description
Outputs the product of all elements of seq. Outputs one given an empty sequence.

Definition