Re: [moderated] I don't understand what (:t :t) means

2016-12-28 Thread John Gabriele
> > hello,everyOne,i'm a new clojure learner. > I don't know what the structure of (:t :t)! > when i use coll? list? vector? set? map? seq? they all return false!! > what is the structure of (:t :t)? thank you very much! > Couple other things to note: * `:t` is just a keyword, like `:foo` or

Re: [moderated] I don't understand what (:t :t) means

2016-12-26 Thread Aaron Cohen
(:t :t) is a function invocation. Clojure always attempts to invoke the first element of a list as a function unless told not to, this is one of the fundamental behaviours of a lisp. In this case, clojure will attempt to invoke the keyword ":t" as a function. Keywords are actually invokable in clo

[moderated] I don't understand what (:t :t) means

2016-12-26 Thread Stuart Sierra
As a moderator, I am posting this message on behalf of a new forum user, below. I have edited the message for appropriate language. –Stuart S. From: silver1 silver1 Date: Mon, 26 Dec 2016 22:11:17 +0800 Subject: I don't understand (:t :t)mean ,please help me !! hello,everyOne,i'm a new clojure