Re: swap (x, y)

2008-03-11 Thread Yitzchak Gale
Hi Neil, Neil Mitchell wrote: You can search for it in the standard libraries using Hoogle: [something mangled] I think you were trying to suggest searching for (a,b)-(b,a) by using a URI directly. My mail reader justifiably mangled your proposed URI, as would any non-broken mail reader,

swap (x, y)

2008-03-10 Thread Serge D. Mechveliani
I define and use swap (x, y) = (y, x) because do not find such in the standard library. Please, can people point at it, in the standard library, or at least in GHC? Thank you in advance for your help. - Serge Mechveliani [EMAIL PROTECTED