"Andrew Wagner" <[email protected]> wrote: > I've been playing around with this, but haven't been able to come up > with anything. > myFunc f (a,b) (c,d) = (f a c, f b d) > > It feels as if there should be a nice simple version of this using > some combination of {un,}curry, "on", &&&, ***, or something else. > > Any thoughts?
Yes: Points-free style can quickly become pointless style, if you overuse it. IMO there is nothing wrong with the above definition. It's perfectly clear and concise. Greets, Ertugrul. -- nightmare = unsafePerformIO (getWrongWife >>= sex) http://blog.ertes.de/ _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
