Detecting duplicate code by AST?

21 Aug
2014
21 Aug
'14
11:27 a.m.
Hi, Can Anyone point Me in the direction of a tool/method of detecting code duplicates based on analysis of abstract syntax trees (ASTs)? If not, is there a way to dump the ASTs of a Haskell project? Is this something for Template Haskell to handle? Sincerely, Frank D. Martinez -- P.S.: I prefer to be reached on BitMessage at BM-2D8txNiU7b84d2tgqvJQdgBog6A69oDAx6

21 Aug
21 Aug
12:55 p.m.
On 21 August 2014 17:27, Frank
Can Anyone point Me in the direction of a tool/method of detecting code duplicates based on analysis of abstract syntax trees (ASTs)?
hlint can do a form of this. give it a go. cabal install hlint && hlint --help hope this helps, -- Ozgur Akgun
3925
Age (days ago)
3925
Last active (days ago)
1 comments
2 participants
participants (2)
-
Frank
-
Ozgur Akgun