[Haskell-cafe] Re: about Haskell code written to be "too smart"

Jonathan Cast jonathanccast at fastmail.fm
Wed Mar 25 12:08:39 EDT 2009


On Wed, 2009-03-25 at 03:01 +0000, Robin Green wrote:
> On Wed, 25 Mar 2009 08:25:40 -0700
> Jonathan Cast <jonathanccast at fastmail.fm> wrote:
> 
> > Define
> > 
> >     swap (a, b) = (b, a)
> 
> By the way, if you want to be "too smart", there's a generalised
> version of swap in Control.Category.Braided in the category-extras
> package.

Thanks, I'll check it out.

> That might be a bit overkill though.

What is this word `overkill' you use?

jcc




More information about the Haskell-Cafe mailing list