> I think that falls under the heading of "don't do that." :)
I see.
Actually, I found the error when I just used clojure.test, like this:
(clojure.test/are [x y] (= (f x) y) 'x 'y) ;=> StackOverflowError
I think it's not as much obvious as clojure.template's case.
At that time, I didn't know
I think that falls under the heading of "don't do that." :)
clojure.template (which I wrote) wasn't a great idea to begin with. It was
slightly useful in clojure.test, but I haven't found a use for it since.
-S
On Sunday, April 22, 2012 8:02:45 AM UTC-4, Shogo Ohta wrote:
>
> Hi,
>
> I've run
Hi,
I've run into such an error:
(clojure.template/apply-template '[x] 'x '[[x]]) ;=>
StackOverflowError
It appears to be caused by replacing x with [x] infinitely
recursively. Is it a bug or spec?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.