Re: seesaw's beautiful docstrings

2012-07-27 Thread John Gabriele
On Wednesday, July 25, 2012 8:16:52 AM UTC-4, Tassilo Horn wrote: 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---

Re: seesaw's beautiful docstrings

2012-07-26 Thread Tassilo Horn
Laurent PETIT laurent.pe...@gmail.com writes: Hi! Third option : use an editor/IDE which allows you to fold docs (one by one / fold all / unfold all), and / or to navigate in your source code via code outlines BTW, I just noticed that you can use Emacs' hs-minor-mode to fold top-level forms.

seesaw's beautiful docstrings

2012-07-25 Thread Dimitrios Jim Piliouras
Hi all, I've just watched Dave Ray's mini demo of seesaw on infoQ and what amazed me (apart from the actual library) was the gorgeous documentation that is attached to all the functions. Dave has done an amazing job - even though it is essentially a swing wrapper you can get a lot done without

Re: seesaw's beautiful docstrings

2012-07-25 Thread Laurent PETIT
2012/7/25 Dimitrios Jim Piliouras jimpil1...@gmail.com Hi all, I've just watched Dave Ray's mini demo of seesaw on infoQ and what amazed me (apart from the actual library) was the gorgeous documentation that is attached to all the functions. Dave has done an amazing job - even though it is

Re: seesaw's beautiful docstrings

2012-07-25 Thread Dimitrios Jim Piliouras
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

Re: seesaw's beautiful docstrings

2012-07-25 Thread Meikel Brandmeyer (kotarak)
Hi, you should choose a fixed width font. Then you can line up sentences without problems using spaces. Inconvenient, but doable. Kind regards Meikel -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: seesaw's beautiful docstrings

2012-07-25 Thread Tassilo Horn
Laurent PETIT laurent.pe...@gmail.com 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

Re: seesaw's beautiful docstrings

2012-07-25 Thread Laurent PETIT
2012/7/25 Dimitrios Jim Piliouras jimpil1...@gmail.com 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

Re: seesaw's beautiful docstrings

2012-07-25 Thread Dimitrios Jim Piliouras
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

Re: seesaw's beautiful docstrings

2012-07-25 Thread Laurent PETIT
2012/7/25 Dimitrios Jim Piliouras jimpil1...@gmail.com 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

Re: seesaw's beautiful docstrings

2012-07-25 Thread Dave Ray
For what it's worth, the docstrings are indeed hand-formatted, but that's pretty easy with vim or any decent editor. The size of the docstrings is a bit of a problem. At one point on Twitter Fogus suggested that Trammel could help off-load documentation elsewhere, but I never was motivated enough

Re: seesaw's beautiful docstrings

2012-07-25 Thread Mark Derricutt
On 25/07/12 9:17 PM, Laurent PETIT wrote: Third option : use an editor/IDE which allows you to fold docs (one by one / fold all / unfold all), and / or to navigate in your source code via code outlines I was just musing on wanting a Hopscotch style IDE for clojure:

Re: seesaw's beautiful docstrings

2012-07-25 Thread Frank Siebenlist
We have an smalltalk-like clojure namespace/var/type-browser for docstrings/clojuredocs/source at https://github.com/franks42/clj-ns-browser; that may be of use… which happens to be built on top of seesaw. -FrankS. On Jul 25, 2012, at 7:25 PM, Mark Derricutt wrote: On 25/07/12 9:17 PM,

Re: seesaw's beautiful docstrings

2012-07-25 Thread Mark Derricutt
On 26/07/12 3:40 PM, Frank Siebenlist wrote: We have an smalltalk-like clojure namespace/var/type-browser for docstrings/clojuredocs/source at https://github.com/franks42/clj-ns-browser; that may be of use… which happens to be built on top of seesaw. Hey that looks awesome! I saw it mentioned