Just to clarify, * is a legal character in any symbol in Clojure.

There seems to be a growing convention of having a function foo* and a
macro foo which does the same thing but with some syntactic sugar. I
believe this practice originates from, or at least was widely
publicized by, Christophe Grand's "DSL not= macros" talk :
http://blip.tv/clojure/christophe-grand-not-dsl-macros-4540700
in which he advocates adding macros at the very last stage if at all,
because functions compose better.

In any case, it is just a convention, so you should not assume it always holds.

On 28 February 2013 12:04, Chris Ford <christophertf...@gmail.com> wrote:
> Sometimes people separate a macro into the macro itself, and a normal
> function that does the actual work.
>
> The normal function often has the same name as the macro but with a *
> suffix.
>
> Chris
>
>
> On 28 February 2013 13:38, Dave Sann <daves...@gmail.com> wrote:
>>
>> I see cases of * after function names.
>>
>> Can anyone enlighten me as to the specific meaning of this, if any.
>>
>> Is it specific to some clojure uses or more widely employed.
>>
>> thanks
>>
>> Dave
>>
>> --
>> --
>> 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
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
>
> --
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to