Stephen Gilardi <[email protected]> writes:
Hi!
>> Currently, with clojure 1.3, it has to be associated with a class or
>> clojure file.
>
> The primary purpose of both use and require is to load code from a
> file in classpath.
Sure. But when you say primary you imply there's also a secondary
purpose.
>> So while I can't use or require it, I can refer it. However, what I
>> really want to do is to require it with some short alias.
>> Unfortunately, refer doesn't support an :as option.
>
> For the purpose you describe, alias should work. (:as uses alias to do
> its job)
Hey, that looks like what I'm looking for. :-)
Thanks a lot,
Tassilo
--
(What the world needs (I think) is not
(a Lisp (with fewer parentheses))
but (an English (with more.)))
Brian Hayes, http://tinyurl.com/3y9l2kf
--
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