;; This is an example of setting a docstring during a def.
;; (Note that the clojure.repl namespace which contains the
;; doc function is not loaded by default in Emacs' SLIME mode.)
user> (def ted-nugent "the nuge rocks" 123)
#'user/ted-nugent
user> (doc ted-nugent)
-------------------------
user/ted-nugent
The nuge rocks
user> ted-nugent
123
;; This is an example of setting a docstring during a def.
;; (Note that the clojure.repl namespace which contains the
;; doc function is not loaded by default in Emacs' SLIME mode.)
user> (def ted-nugent "the nuge rocks" 123)
#'user/ted-nugent
user> (doc ted-nugent)
-------------------------
user/ted-nugent
The nuge rocks
user> ted-nugent
123
Comments top
No comments for def. Log in to add a comment.