Just in case Dave is lurking around,
-You actually wrote and styled all that documentation by hand?
Jim
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
Hmmm I see...you're saying that this is all due to my minimalistic repl enviroment (raw terminal embedded in gedit + leiningen2)...I know eclipse does folding and stuff but what about when you want to hit <enter> to break a line and then you want to align some other sentence underneath? will it show on the raw terminal exactly as it shows on the eclipse text-editor? I'm asking because in gedit the only way i can predict where things go is whenever i have a continuous string (no line breaks)...
ooo thanks Tassilo...I knew that the docstring is stored as metadata but I did not know I could mutate it after the binding is set..this is very cool on its own!
As far as IDEs go i will have a look around even though i was quite happy with my minimal setup...I also tend to use clooj when on the road which is steadily getting better...I gave ccw several chances as I was totally in love with eclipse in my java days, but even though I do like the editor and all the clever things it can do, I still cannot get my head round how to work efficiently on the eclipse repl...I specifically remember spawning a new repl every time i was loading a namespace which seemed very odd cos i had to close them all at the end...
Laurent PETIT writes:
>> -Is there a way write the docs in a separate place (different section
>> of the document or different document altogether)?
Sure.
--8<---------------cut here---------------start------------->8---
(defn plus1 [x] (+ x 1))
(alter-meta! #'plus1 assoc :doc "Adds one to x.")
--8<---------------cut here---------------end--------------->8---