Thanks Brent, this should do the trick, although what I was asking was something more general:
Like this?
swapA' = dup >>> swapFirst >>> swapSecond
where
dup = id &&& id
...
I'm afraid I'm not confident I really understand your question,
however, so if that doesn't answer it, try asking again!
-Brent
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe