X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=installing.mdwn;h=f04ac2c64e27a2c5a9ac9b7b1e6226b45749a08c;hp=81f27ec1651ad5b7f01e04db9fe4c7ae186d7595;hb=30f00cacbf2f96b301b46a18ab3350b70e0a9b31;hpb=a7c26ba13dbf72718f66e8814f4cf74ec4647000 diff --git a/installing.mdwn b/installing.mdwn index 81f27ec1..f04ac2c6 100644 --- a/installing.mdwn +++ b/installing.mdwn @@ -135,6 +135,7 @@ If you're using Linux or a Mac without MacPorts, then open a Terminal and type t echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bash_profile + ## Getting Scheme ## **Scheme** is one of two or three major dialects of *Lisp*, which is a large family @@ -158,9 +159,9 @@ another Scheme implementation, though, there's no compelling reason to switch. Another good Scheme implementation is [Chicken](http://www.call-cc.org). For our purposes, this is in some respects superior to Racket, and in other respects inferior. If you have any issues with installing or using Racket, you could try this out instead. You might even want to install both. - @@ -256,6 +257,7 @@ The current version of Racket is 6.1.1 (released November 2014). keyboard arrows. + ## Getting OCaml ## **Caml** is one of two major dialects of *ML*, which is another large family of @@ -392,6 +394,7 @@ double-click and install. + ## Getting Haskell ## This last installation is less crucial than the others, since we will be focusing @@ -417,8 +420,8 @@ Like Scheme, Haskell has a couple of different implementations. The dominant one * As mentioned, **GHC** is the main Haskell engine or compiler you'll be installing. The current version is 7.8.4, from December 2014. * **gcc** and **llvm/clang** and **Xcode** and **MinGW** are names for other compilers on various systems. Oftentimes these will be used during the installation process to get GHC up and running. Some of the strategies described below will help you install these if they're not already on your machine. * **alex** and **happy** and **haddock** are names of various Haskell helper programs that GHC uses to get up and running. -* **[Cabal](https://www.haskell.org/cabal)** is a "package manager" for Haskell. It allows you to install libraries or extensions that other people have built. (Usually those are published at the [Hackage](https://hackage.haskell.org) web site.) Some of these are experimental and may not always work; others are quite fundamental and are almost de facto parts of what people expect in a Haskell system. -* **[Haskell Platform](https://www.haskell.org/platform)** is a standard bundle that includes a specific version of GHC, plus specific versions of some of the most popular libraries or extensions. This is updated once or twice a year. The current version is 2014.2.0.0, from August 2014. It includes GHC version 7.8.3. +* **cabal** is a "package manager" for Haskell. It allows you to install libraries or extensions that other people have built. (Usually those are published at the [Hackage](https://hackage.haskell.org) Package Database.) Some of these are experimental and may not always work; others are quite fundamental and are almost de facto parts of what people expect in a Haskell system. +* **[Haskell Platform](https://www.haskell.org/platform/contents.html)** is a standard bundle that includes a specific version of GHC, plus specific versions of some of the most popular libraries or extensions. This is updated once or twice a year. The current version is 2014.2.0.0, from August 2014. It includes GHC version 7.8.3. The easiest way to get up and running with Haskell/GHC is to install the Haskell Platform. Here's how to do that **on Windows**: @@ -462,8 +465,6 @@ On **Ubuntu or Debian Linux**: * In a Terminal, type `sudo apt-get install haskell-platform`. -It's useful to know about the general [Haskell wiki](https://wiki.haskell.org) (not restricted to just GHC). They have a [Getting Started](https://wiki.haskell.org/Haskell_in_5_steps) page, which also recommends that you install the Haskell Platform. - If any of the instructions above don't work, then you can try alternative instructions for [Mac](http://new-www.haskell.org/downloads/osx) or [Windows](http://new-www.haskell.org/downloads/windows) or [Ubuntu](http://new-www.haskell.org/downloads/linux). Note that this method doesn't install all the extensions that are part of the Haskell Platform, but only the core pieces of GHC. You can use Cabal to download and manage any extra extensions you turn out to need, down the road. **After installing Haskell**, open a Terminal and type: