Hope I didn't imply by the above that I was suggesting a name change.

I know my proposed version is ugly, but since BufferedReader &
LineNumberingPR can't be unified, special-case-ing for the latter
strikes me as an acceptable fix. But removing the type hint so that
the function works out of the box is the next best option.

(I know the above microbenchmarking is dubious & smacks of premature
optimization, especially for a function whose use case, at least for
me, is command-line interaction -- which is not performance-critical.
But then I thought about reading strings from stdin, which could be;
but perhaps a (line-seq) on a wrapped System/in would be better
anyway...)

Perry
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to