Enable GHC to recompiled based on Hash other than timestamp
Nowadays GHC decides if a code should be recompiled based on the source code file timestamp, ie, if the file timestamp changes, GHC will recompile the code even if there was no change the code at all. That should not be a problem if the build system respect the source code timestamp. It might not be true for some build system, as buck, thus forcing the code to be recompiled even without a change.
This feature proposes an option to enable GHC to check for file content and trigger the recompilation if there was a change int the source code itself independently of the timestamp.
A suggestion would be to use
-fhash-recomp flag, which will make hash to trigger recompilation other than timestamp.