concept reduced in category clojure

This is an excerpt from Manning's book Clojure: The Essential Reference.
The four functions in this section control the presence of a wrapping
clojure.lang.Reducedmarker object around other Clojure objects. Thereducedsignaling mechanism allows reducing functions to impose a premature end of the reduction:(reduce (fn [acc el] ; #1 (if (> el 5) (reduced acc) ; #2 (+ acc el))) (range 10)) ;; 15When reduce finds an element wrapped in a
Reducedinstance, it stops recurring over the remaining elements in the input. Both reducers and transducers take advantage of the signaling mechanism to signal a premature end of the reduction (for example, take-while immediately wraps the results so far in areducedso other reducers/transducers down the line have a chance to avoid computationally intensive operations).The wrapped
reducedinstance supports theIDerefinterface, allowing for easy inspection using the@(at) operator: