On Wed, 25 Mar 2009 08:25:40 -0700 Jonathan Cast <jonathancc...@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. That might be a bit overkill though. -- Robin _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe