impenetrable for builtin curried functions and . operator as comp?? i dont think so, haskell can be hard to read but not for those reasons F. e. filter when the sum of elements are even:
Prelude> filter (even.sum) [[2,3],[3,3]] [[3,3]] i think is pretty readable ;-) On Nov 16, 2:19 am, Cyrus Harmon <cyrushar...@gmail.com> wrote: > I think the minimal character count for composition and partial functions in > haskell are some of the reasons that haskell code is so impenetrable to > non-haskell hackers. Feel free to rig up crazy unicode characters to any > identifier you want in your own code, just don't ask me to read or debug any > of it. > > On Nov 15, 2010, at 2:12 PM, Paul Hobbs wrote: > > > 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 > > 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 -- 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