comment
authorJim <jim.pryor@nyu.edu>
Sat, 31 Jan 2015 21:49:19 +0000 (16:49 -0500)
committerJim <jim.pryor@nyu.edu>
Sat, 31 Jan 2015 21:49:19 +0000 (16:49 -0500)
how_to_get_the_programming_languages_running_on_your_computer.mdwn

index b3c4d66..1a44722 100644 (file)
@@ -429,30 +429,30 @@ On **Mac without MacPorts**:
 
 *   Go to <https://www.haskell.org/platform/mac.html> and follow the instructions. This requires Mac OS X 10.6 / Snow Leopard or later; but there is a link to an earlier version of Haskell Platform, that's built for Mac OS X 10.5 / Leopard. During the installation, you may be prompted to install "the command line developer tools"; this is a portion of what Apple bundles together with Xcode (mentioned above on this page). The installer will take care of getting these for you if you give it permission.
 
-    <!--
-    The Installer places everything in your system directories. If you'd like it instead in your user directory (easier to clean up later), you can do this after running the Installer:
-
-        mkdir ~/Library/Frameworks
-        cp -a /Library/Frameworks/GHC.framework ~/Library/Frameworks/
-        [ -d ~/Library/Haskell ] && mv ~/Library/Haskell ~/Library/Haskell.orig
-        sudo mv /Library/Haskell ~/Library/
-        sudo chown -Rh $USER:staff ~/Library/Haskell
-        mkdir -p ~/share/doc ~/share/man/man1
-        ln -s ~/Library/Frameworks/GHC.framework/Versions/Current/usr/share/doc/ghc ~/share/doc/
-        ln -s ~/Library/Frameworks/GHC.framework/Versions/Current/usr/share/man/man1/ghc.1 ~/share/man/man1/
-        sudo rm -r /usr/share/doc/ghc /usr/share/man/man1/ghc.1 /Library/Frameworks/GHC.framework
-        for f in ghc ghc-7.8.3 ghc-pkg ghc-pkg-7.8.3 ghci ghci-7.8.3 haddock haddock-ghc-7.8.3 hp2ps hpc hsc2hs runghc runghc-7.8.3 runhaskell; do
-          ln -s ~/Library/Frameworks/GHC.framework/Versions/7.8.3-*/usr/bin/$f ~/bin/
-          sudo rm /usr/bin/$f
-        done
-        for f in activate-hs alex cabal cabal.real cabal.wrap ghc-clang-wrapper happy HsColour uninstall-hs; do
-          ln -s /Library/Haskell/ghc-7.8.3-*/bin/$f ~/bin/
-          sudo rm /usr/bin/$f
-        done
-        sed -i "" "s=/Library=$HOME/Library=g" $(fgrep -RIl /Library ~/Library/Haskell ~/Library/Frameworks/GHC.framework | fgrep -v .html)
-
-    # Ehh. Doesn't work...
-    -->
+<!--
+The Installer places everything in your system directories. If you'd like it instead in your user directory (easier to clean up later), you can do this after running the Installer:
+
+    mkdir ~/Library/Frameworks
+    cp -a /Library/Frameworks/GHC.framework ~/Library/Frameworks/
+    [ -d ~/Library/Haskell ] && mv ~/Library/Haskell ~/Library/Haskell.orig
+    sudo mv /Library/Haskell ~/Library/
+    sudo chown -Rh $USER:staff ~/Library/Haskell
+    mkdir -p ~/share/doc ~/share/man/man1
+    ln -s ~/Library/Frameworks/GHC.framework/Versions/Current/usr/share/doc/ghc ~/share/doc/
+    ln -s ~/Library/Frameworks/GHC.framework/Versions/Current/usr/share/man/man1/ghc.1 ~/share/man/man1/
+    sudo rm -r /usr/share/doc/ghc /usr/share/man/man1/ghc.1 /Library/Frameworks/GHC.framework
+    for f in ghc ghc-7.8.3 ghc-pkg ghc-pkg-7.8.3 ghci ghci-7.8.3 haddock haddock-ghc-7.8.3 hp2ps hpc hsc2hs runghc runghc-7.8.3 runhaskell; do
+      ln -s ~/Library/Frameworks/GHC.framework/Versions/7.8.3-*/usr/bin/$f ~/bin/
+      sudo rm /usr/bin/$f
+    done
+    for f in activate-hs alex cabal cabal.real cabal.wrap ghc-clang-wrapper happy HsColour uninstall-hs; do
+      ln -s /Library/Haskell/ghc-7.8.3-*/bin/$f ~/bin/
+      sudo rm /usr/bin/$f
+    done
+    sed -i "" "s=/Library=$HOME/Library=g" $(fgrep -RIl /Library ~/Library/Haskell ~/Library/Frameworks/GHC.framework | fgrep -v .html)
+
+# Ehh. Doesn't work...
+-->
 
 On **Mac with MacPorts**: