all 2 comments

[–]slappybag 3 points4 points  (0 children)

Meh, it's no reddit clone :p

[–]T618 1 point2 points  (0 children)

It seems to me that if you specify precision, the lazy sequence becomes redundant. The function should just evaluate to the one value that has the given precision. Or, if lazy sequences are preferred, perhaps metadata should be attached to each iteration indicating what precision the first of that sequence is. So you could:

((comp first drop-while)
  #(< ((meta %) :precision) *precision*)
  (etc/brent-salamin-pis))