clojure-dev

exitsandman 2026-01-31T22:47:58.691399Z

I'm really curious as to why rather than taking the obvious route of defining reduce on streams, stream-reduce! was defined as its own monomorphic function. Is it because the stream is consumed in the process?

Alex Miller (Clojure team) 2026-01-31T22:51:16.393579Z

Yes