chickadee » srfi-158 » count-accumulator

count-accumulatorprocedure

Returns an accumulator that, when invoked on an object, adds 1 to a count inside the accumulator and returns an unspecified value. However, if an end-of-file object is passed, the accumulator returns the count.