On Sat, Nov 13, 2010 at 11:33 PM, Eric Schulte <schulte.e...@gmail.com> wrote:
> I'm about to begin starting all of my clojure namespaces with
> (def o comp) ; o for cOmp, Haskell's (.) or Mathematical composition \circ
> (def p partial) ; p for partial
<snip>
> Is there any support for including these function aliases for `comp' and
> `partial' (or some other shortened names) in the core?

Are you really sure you won't want to use 'p' to represent something
like a probability, at some point?  I suspect, the shorter your name,
the more likely you are to have a naming clash.  That, and you're
likely to have some problems remembering what it's for.

Clojure code (and lisp in general) tends to be rather small for what
it does, anyway.  So far, we seem to have avoided the
emacs-style-long-hyphenated-sentence function names.

If you're playing golf, do whatever, but for Clojure's core?  I'd
personally prefer 'comp' and 'partial', myself.

-- 
Chris Riddoch

-- 
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