vseloved / rutils

Radical Utilities for Common Lisp
Other
246 stars 36 forks source link

Make dolines evaluate src only once #37

Closed OlegTheCat closed 5 years ago

OlegTheCat commented 5 years ago

The rationale for this is that

(dolines (line (make-string-input-stream (format nil "foo~%bar")))
  nil)

results in an infinite loop.

vseloved commented 5 years ago

thanks!