On Nov 3, 7:03 pm, Chouser <[EMAIL PROTECTED]> wrote:
> [...] It's not pretty, and it only works on functions defined in the clojure
> namespace. [...]
The variation below works in a more general setting: it will look for
the source file anywhere in the classpath (including jar files) or in
user
On Sun, Nov 2, 2008 at 6:34 PM, Mark McGranaghan <[EMAIL PROTECTED]> wrote:
>
> I really like being able to find and check documentation in the REPL
> with find-doc and doc, but I often would like to see the source code
> of a function or macro to be able to understand it better or learn
> from th
On Sun, Nov 2, 2008 at 6:34 PM, Mark McGranaghan <[EMAIL PROTECTED]> wrote:
>
> I really like being able to find and check documentation in the REPL
> with find-doc and doc, but I often would like to see the source code
> of a function or macro to be able to understand it better or learn
> from th
And this could open the door to "organic code" : dynamically
discovering the source code of functions, and - why not- correcting /
adjusting the code by re-def ining the function by manipulating its
original source code.
Some sort of macro, at runtime :-)
On Nov 3, 3:57 pm, Paul Barry <[EMAIL PR
I agree that this would be helpful.
On Nov 2, 6:34 pm, Mark McGranaghan <[EMAIL PROTECTED]> wrote:
> I really like being able to find and check documentation in the REPL
> with find-doc and doc, but I often would like to see the source code
> of a function or macro to be able to understand it bet
I really like being able to find and check documentation in the REPL
with find-doc and doc, but I often would like to see the source code
of a function or macro to be able to understand it better or learn
from the implementation. To do this I switch into an editor with
boot.clj, find and read the