Haskell environment hosed post reinstall
问题 I've recently reinstalled my Haskell environment as I thought I had hosed it beyond recovery after updating my Mac OS X to Mavericks. Now every time I run cabal install cabal-install , I get the following error. Resolving dependencies... Configuring cabal-install-1.18.0.3... /var/folders/4l/qbdvy5xj4q53skv0zn0lhw940000gp/T/8247.c:1:12: warning: control reaches end of non-void function [-Wreturn-type] int foo() {} ^ 1 warning generated. Building cabal-install-1.18.0.3... Preprocessing