I\'ve got a function that takes data and either returns the same data or a slightly modified version.
I want to have my program do one thing if it changed or another thi
The derived (==) is always deep comparison. Your question has been discussed on haskell-cafe.