Exercises

Future development of Sherlock is at GitHub.[47] If you have a nice solution to any of the following problems, make a fork of Sherlock, and send me a pull request. There are a lot of ways the Sherlock program can be improved, and as you can see from the list, there a lot more things that could be done.

Finding Similarities Between Modules

Sherlock finds similarities between postings in the Erlang mailing list. Add a facility to compare the similarities of a large collection of Erlang modules.

Finding the History of a Module

As well as defining the similarity between modules, we can define the distance between two modules. Once we have found a set of similar modules, try to derive the history of the modules. Have the modules been ...

Get Programming Erlang, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.