What is an alternative to autotools in the Haskell world? I want to be able to choose between different configurations of the same source code.
For example, in Haskell there are at least two MD5 implementations: Data.Digest.OpenSSL.MD5and Data.Digest.Pure.MD5. I would like to write the code in such a way that it can determine which library is already installed, and does not require the installation of another.
In C, I can use Autotools / Scons / CMake + cpp. In Python, I can catch ImportError. What tools should be used in Haskell?
source
share