10

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

Paul Reiners
  • 8,576
  • 33
  • 117
  • 202

1 Answers1

13

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.

octopusgrabbus
  • 10,555
  • 15
  • 68
  • 131
Paul Reiners
  • 8,576
  • 33
  • 117
  • 202