ifn? returns true for things that implement clojure.lang.IFn, IFn is
the interface for things that can be put in the operator position in a
s-expr:
functions
vectors
maps
sets
keywords
symbols
...?

fn? returns true for just functions

On Sat, Apr 18, 2009 at 9:37 PM, tmountain <tinymount...@gmail.com> wrote:
>
> Sorry for the newbie question, but can someone tell me what IFn means
> exactly? I keep running into it in the docs particularly in the
> keyword documentation, and Google has yet to expain.
>
> Thanks,
> Travis
> >
>



-- 
And what is good, Phaedrus,
And what is not good—
Need we ask anyone to tell us these things?

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