
25 Mar
2009
25 Mar
'09
3:01 a.m.
On Wed, 25 Mar 2009 08:25:40 -0700
Jonathan Cast
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