Coming from Haskell, where composition and partial functions are cheap and
free in terms of character count, it is actually pretty discouraging to have
to spell it out in Clojure for the same effect.  Some of the cases where you
"should" be using multiple expressions in Clojure would be perfectly clear
in Haskell as one expression...

On Mon, Nov 15, 2010 at 11:37 AM, Sean Corfield <seancorfi...@gmail.com>wrote:

> On Mon, Nov 15, 2010 at 10:26 AM, Alan <a...@malloys.org> wrote:
> > The one that bugs me is complement - such a long name for a commonly-
> > useful function. I often wind up defining ! as an alias for
> > complement, but maybe others will think that is poor style.
>
> Possibly because bang functions indicate "Here be dragons" in terms of
> mutating state? e.g., set!
>
> Are you really using complement a lot? I guess I would define an alias
> for the complement-ed function or use not in expressions...
> --
> Sean A Corfield -- (904) 302-SEAN
> Railo Technologies, Inc. -- http://getrailo.com/
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
> --
> 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