Hello again,
Thank you all for the posts and explanations,
After getting the clojure SVN version and few tweaks in the code, the
working result looks like:
(with-open [ofile (new java.io.FileOutputStream
(str result-directory
On Wed, Nov 19, 2008 at 2:45 PM, prhlava <[EMAIL PROTECTED]> wrote:
>
>
> Hello again,
>
> Thank you all for the posts and explanations,
>
> After getting the clojure SVN version and few tweaks in the code, the
> working result looks like:
>
> (with-open [ofile (new java.io.Fil
Hi Mark,
The metadata points to the source:
user> (meta #'with-open)
{:doc "bindings => name init\n\n Evaluates body in a try expression
with name bound to the value of\n init, and a finally clause that
calls (.close name).", :ns #, :arglists
([bindings & body]), :file "core.clj", :name
On Wed, Nov 19, 2008 at 4:49 PM, Mark Volkmann
<[EMAIL PROTECTED]> wrote:
>
> On Wed, Nov 19, 2008 at 2:45 PM, prhlava <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello again,
>>
>> Thank you all for the posts and explanations,
>>
>> After getting the clojure SVN version and few tweaks in the code, the
>>
Thanks Stu! I wasn't aware of the meta function. That helps a lot!
I looked for occurrences of "(meta " throughout the clojure and
clojure-contrib repositories, but I didn't find a function that prints
the code for a given function. That would be incredibly useful for
learning! Does anybody know