Detect duplicate code

Is there any tool in the Haskell ecosystem to detect duplicate code?

Would be nice to have one use using HIE AST, which could be agnostic of formatting and variable naming

1 Like

I know of Research paper: Plagiarism Detection for Haskell with Holmes. As far as I know the implementation is not publicly available, but you can try mailing Jurriaan Hage.

1 Like

hlint has a warning for such things!

3 Likes