Hello Neil, Tuesday, February 5, 2008, 1:11:47 PM, you wrote:
> insert x y = delete x
> >>> deleteR y
> >>> unsafeInsert x y
i use the following trick:
(.$) = flip ($)
insert x y it = it.$ delete x
.$ deleteR y
.$ unsafeInsert x y
--
Best regards,
Bulat mailto:[EMAIL PROTECTED]
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe
