count-head ( seq quot -- n )


Vocabulary
sequences.extras

Inputs
seqa sequence
quota quotation


Outputs
nan integer


Word description
Count the number of values at the beginning of seq that return a truthy value when passed into quot.

Definition