Hi Guys Recently I came across this issue i.e. when the user passes 0 as the `n` parameter to the `partition` or `partition-all` function, the code hangs indefinitely without throwing an error or anything. I was using this function inside my Elasticsearch back-end API and when this condition used to occur, my ES instance used to get stuck and give me OOM issue which I had to fix by restarting the instance.
I know that this is an external code level issue but I think it would be great if we can at least throw an error if the user accidentally passes `n` as 0. It would at least not hang up the system. I was thinking of creating a PR for this but wanted an approval from you guys. -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.