yeah cool I can do that.. thx. But I remember seeing a syntax for it in the
ns macro...
Sunil.

On Tue, Dec 14, 2010 at 8:54 AM, Robert McIntyre <r...@mit.edu> wrote:

> you can always do
>
> (def c+ clojure.core/+)
>
> right after the namespace declaration.
>
> --Robert McIntyre
>
> On Mon, Dec 13, 2010 at 10:20 PM, Sunil S Nandihalli
> <sunil.nandiha...@gmail.com> wrote:
> > Hello everybody,
> > I am defining a protocol which defines the functions +,-,*,/ .. so I am
> > excluding those symbols when I do :refer-clojure but I would like to give
> an
> > alias to say something like c+ c- c* and c/ how can I do this?
> > Thanks,
> > Sunil
> >
> > --
> > 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
> > Note that posts from new members are moderated - please be patient with
> your
> > first post.
> > To unsubscribe from this group, send email to
> > clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com>
> > 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 clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com>
> 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 clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
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