On Sun, Oct 4, 2009 at 3:07 PM, Stephen C. Gilardi <squee...@mac.com> wrote:
>
> On Oct 3, 2009, at 1:50 PM, Stuart Halloway wrote:
>
>> Is there a principled reason for this? I have written some code that
>> (unintentionally) limits itself to refs because it assumes that all
>> reference types can sit in function position.
>
> This discussion:
>
> http://groups.google.com/group/clojure/browse_thread/thread/534dd074f18851ab
>
> suggests that reference types implementing IFn isn't the intended behavior.
>
> Using deref or @ works with all reference types:

Minor technicality ... Vars are a reference type, but deref and @
don't work with them.

-- 
R. Mark Volkmann
Object Computing, Inc.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to