Welcome! Please see the About page for a little more info on how this works.
user=> (take-nth -1 [1 3 4]) ; hangs user=> (take 5 (take-nth -1 [5 9 14])) (1 1 1 1 1)
I understand this behavior may be intentionally undefined, but raising the issue on IRC didn't yield an answer on whether this is a bug or grey area.
Comment made by: stu
This is probably even worse now -- i.e. likely different behavior with transducer arity.
Comment made by: alexmiller
user=> (into [] (comp (take-nth -1) (take 5)) [5 9 14]) [5 9 14]