I'm sorry to hear that you're having trouble installing Haskell on OSX. Actually, if you're at this point you're something like 90% of the way there; you've got GHC and cabal installed and that's the big thing that you need to start playing around with the basic elements of Haskell: data declarations, functions, and definitions.
The per-user configuration file should be ~/.cabal/config
and the per-project configuration file should be [Project Directory]/cabal.config
. (So, as bheklilr states, you'll need to create a project with cabal first.)
You should check and make sure cabal --version
is not hopelessly out-of-date; they're on version 1.22 now but if you're > 1.16
you should be able to do the steps above. If not, indeed, the way to upgrade cabal is generally to cabal-update
and then cabal install cabal-install
to the latest version.
You can of course create your own ~/.cabal/
folder.