sorry, James Xu already said that (didn't want to steal any credit, but
I've just realized that he said the same thing)


On Mon, Jan 28, 2013 at 5:25 PM, AtKaaZ <atk...@gmail.com> wrote:

> well this should explain it:
>
> => (are [ x y ] (= x y) ((fn[x] x) 1) 1)
> StackOverflowError   clojure.core/partial/fn--4209 (core.clj:2396)
> => (are [ x y ] (= x y) ((fn[a] a) 1) 1)
> true
>
>
>
> On Mon, Jan 28, 2013 at 4:37 PM, John Lawrence Aspden <
> aspd...@googlemail.com> wrote:
>
>> Hi, am I doing something wrong here?:
>>
>> user=> (clojure-version)
>> "1.4.0"
>> user=> (use 'clojure.test)
>> nil
>> user=> (is ((fn[x] x) 1) 1)
>> 1
>> user=> (are [ x y ] (= x y) ((fn[x] x) 1) 1)
>> StackOverflowError   clojure.core/map/fn--4087 (core.clj:2426)
>>
>> user=> (macroexpand '(are [ x y ] (= x y) ((fn[x] x) 1) 1))
>> StackOverflowError   clojure.lang.RT.boundedLength (RT.java:1633)
>>
>> --
>> --
>> 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, send email to
>> clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
> --
> I may be wrong or incomplete.
> Please express any corrections / additions,
> they are encouraged and appreciated.
> At least one entity is bound to be transformed if you do ;)
>



-- 
I may be wrong or incomplete.
Please express any corrections / additions,
they are encouraged and appreciated.
At least one entity is bound to be transformed if you do ;)

-- 
-- 
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, send email to 
clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to