Paul Reiners
Paul Reiners

Reputation: 7896

Common Lisp's symbol-name in Clojure?

Is there anything in Clojure that is equivalent to Common Lisp's symbol-name function?

Upvotes: 10

Views: 734

Answers (1)

Paul Reiners
Paul Reiners

Reputation: 7896

The Clojure name function will return the name of the symbol, instead of the symbol itself.

(name symbol)

Answer by Stuart Sierra on Clojure group.

Upvotes: 13

Related Questions