> I see that "show source" links are missing on your page for some
> functions -- does this indicate a failure of repl-utils/get-source?

I think so. But I'm willing to believe that the error is elsewhere.
It's just hard for me to see where it could be.

> These seem to work fine for me:
>
> user=> (use 'clojure.contrib.duck-streams)
> nil
>
> user=> (source writer)
>
> user=> (source slurp*)

Yep, those both work from the REPL for me as well. Which is why I'm
confused as to only writer appearing to work when I run it from within
my generator function.

This is probably due to my sadly lacking understanding of
symbols/vars/use/require/refer/etc. I'm loading the supplied list of
libraries via mapping require across a list of symbols ([1], line
317), and I know that differs from the use statement at the REPL, but
the fact that it works partially leads me puzzled. I would expect it
not to work at all. Perhaps it's only working for the things that have
been pulled in by some other library I'm using? When I was writing it,
it sure seemed like I was missing a call to resolve somewhere, but
when it worked for some symbols, I got a) excited, and b) confused. :)

[1] 
http://github.com/candera/doc-browse/blob/e093968731760f268b31dd88b65954a5e7a1c0ba/core.clj

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to