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. That might be a bit overkill though. -- Robin