Hi Ru, You are invoking a literal symbol.
You want: (apply not= '(256 256)) ie. without the ' in front of not=. Thanks, Ambrose On Sat, Oct 26, 2013 at 5:01 PM, ru <[email protected]> wrote: > Dear Clojure users and team! > > What does it mean: > > Last login: Sat Oct 26 12:41:48 on ttys001 > Ruslan-Sorokins-iMac:~ ru$ cd clojure/clojure-1.5.1/ > Ruslan-Sorokins-iMac:clojure-1.5.1 ru$ java -jar clojure-1.5.1.jar > Clojure 1.5.1 > user=> (not= 256 256) > false > user=> (apply 'not= '(256 256)) > 256 > user=> > > I think that this semantics of apply function is unacceptable. Am I right? > Any explanation would be very appreciated. > > Sincerely, > Ru > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > 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 and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
