Thanks Alex. That helps. Sunil. On Thu, Dec 9, 2010 at 4:28 PM, Alex Osborne <[email protected]> wrote:
> Sunil S Nandihalli <[email protected]> writes: > > > I would like to know what meta info does &form that get passed to > > your macro.. actually contain? I am able to only get the line > > number.. Is there a way to get the file name aswell? > > The currently evaluating/compiling file (if it is a file and not the > REPL or some other instance of eval) is in the var *file*. The current > namespace is in the var *ns*. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected]<clojure%[email protected]> > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
