If ~/Library/Haskell does not exist, fall back to ~/.cabal/bin. Ideally, we'd parse ~/.cabal/config here, but cabal does not provide an interface to get configuration settings.
This module provides support for per user haskell packages by prepending the per user directories to PATH/MANPATH.