yeah I definitely agree that it would be nice if constants could be
used without the parens.

On Apr 2, 11:48 am, Paul Stadig <p...@stadig.name> wrote:
> Yeah that works the same as defining a function, just more explicit. I was
> looking for a way to define a constant and just use it as "my-const" without
> having to use the parens to call a function or a macro. I guess that would
> be something like a symbol macro in CL?
>
> Paul
>
> On Thu, Apr 2, 2009 at 11:08 AM, MikeM <michael.messini...@invista.com>wrote:
>
>
>
> > There is definline which seems appropriate in place of the constant
> > macros.
>
> > (definline my-const [] 1)
> > (my-const) ;= 1
--~--~---------~--~----~------------~-------~--~----~
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