From d48768283d8a904c649dbdcc9b93ac4309d177df Mon Sep 17 00:00:00 2001 From: David Binder Date: Fri, 25 Aug 2023 13:35:01 +0200 Subject: [PATCH 1/9] Update install instructions on landing page --- index.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index e94202c..a47d4bf 100644 --- a/index.html +++ b/index.html @@ -33,16 +33,14 @@

Introduction

Install/Upgrade cabal

- To install the cabal executable you can - use ghcup (if you're using - Linux), the Haskell - Platform, install the cabal-install - package from your distributions package manager (if using Linux or Mac), - or download the source or prebuilt binary from + The recommended method to install the cabal executable is to use ghcup, which can manage multiple versions of cabal on Linux, Mac and Windows. + Alternatively, you can install cabal using your distributions package manager (if you are using Linux or Mac), or download the source or prebuilt binary from the Download page. +

- If you already have the cabal executable you can upgrade it by running: + If you have installed cabal using ghcup, then you can also upgrade it using ghcup. + If you installed the cabal executable using a different method, you can upgrade it by running: cabal install cabal-install
@@ -66,7 +64,9 @@

Install/Upgrade cabalQuick Start Guide

-

Start by installing the cabal executable (see the previous section) and the Haskell compiler ghc (see the GHC download docs).

+

Start by installing the cabal executable (see the previous section) and the Haskell compiler ghc. + It is also recommended to use ghcup to install ghc. +

Starting a new project

From cf9a6800a402cd300e36f0cfac1c2f3743f4f62d Mon Sep 17 00:00:00 2001 From: David Binder Date: Sat, 26 Aug 2023 15:49:45 +0200 Subject: [PATCH 2/9] Update install instructions --- index.html | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/index.html b/index.html index a47d4bf..448543e 100644 --- a/index.html +++ b/index.html @@ -34,7 +34,7 @@

Install/Upgrade cabal The recommended method to install the cabal executable is to use ghcup, which can manage multiple versions of cabal on Linux, Mac and Windows. - Alternatively, you can install cabal using your distributions package manager (if you are using Linux or Mac), or download the source or prebuilt binary from + Alternatively, you can install cabal using your distribution's package manager (if you are using Linux or Mac), or download the source or prebuilt binary from the Download page.

@@ -44,22 +44,15 @@

Install/Upgrade cabal cabal install cabal-install
+ This will install the cabal executable in cabal's installdir (usually ~/.local/bin). In order to use this executable, you have to make sure that this directory appears in the $PATH variable before the location where your current cabal executable is located. + You can check which version of the cabal executable you are running by executing the command below. + + cabal --version +

- If the above command failed for any reason see the Update Troubleshooting section below. -

- -

- Sometimes the older installed version is still on the program search - $PATH, you can check you're running the - latest version with the command below. If it doesn't match the output of - the cabal-install command above you'll - need to replace the old executable with the new one.
- - - cabal --version - + If the update failed for any reason, see the Update Troubleshooting section below.

Quick Start Guide

From a72fc9446cad78cd42c2eac7888a0967bffdd51f Mon Sep 17 00:00:00 2001 From: David Binder Date: Sat, 26 Aug 2023 15:53:15 +0200 Subject: [PATCH 3/9] Properly typeset mentions of the "cabal" executable --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 448543e..49dde3e 100644 --- a/index.html +++ b/index.html @@ -44,8 +44,8 @@

Install/Upgrade cabal cabal install cabal-install
- This will install the cabal executable in cabal's installdir (usually ~/.local/bin). In order to use this executable, you have to make sure that this directory appears in the $PATH variable before the location where your current cabal executable is located. - You can check which version of the cabal executable you are running by executing the command below. + This will install the cabal executable in cabal's installdir (usually ~/.local/bin). In order to use this executable, you have to make sure that this directory appears in the $PATH variable before the location where your current cabal executable is located. + You can check which version of the cabal executable you are running by executing the command below. cabal --version From f0770c9466d53e4f089bc4cb7f54f10ef3b061b0 Mon Sep 17 00:00:00 2001 From: David Binder Date: Fri, 10 Nov 2023 14:14:50 +0100 Subject: [PATCH 4/9] Add more hard linebreaks to overly long lines --- index.html | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 49dde3e..9e8f570 100644 --- a/index.html +++ b/index.html @@ -33,18 +33,25 @@

Introduction

Install/Upgrade cabal

- The recommended method to install the cabal executable is to use ghcup, which can manage multiple versions of cabal on Linux, Mac and Windows. - Alternatively, you can install cabal using your distribution's package manager (if you are using Linux or Mac), or download the source or prebuilt binary from - the Download page. + The recommended method to install the cabal executable + is to use ghcup, which can manage multiple + versions of cabal on Linux, Mac and Windows. + Alternatively, you can install cabal using your + distribution's package manager (if you are using Linux or Mac), or download the source + or prebuilt binary from the Download page.

- If you have installed cabal using ghcup, then you can also upgrade it using ghcup. + If you have installed cabal using ghcup, + then you can also upgrade it using ghcup. If you installed the cabal executable using a different method, you can upgrade it by running: cabal install cabal-install
- This will install the cabal executable in cabal's installdir (usually ~/.local/bin). In order to use this executable, you have to make sure that this directory appears in the $PATH variable before the location where your current cabal executable is located. + This will install the cabal executable in cabal's installdir + (usually ~/.local/bin). In order to use this executable, + you have to make sure that this directory appears in the $PATH + variable before the location where your current cabal executable is located. You can check which version of the cabal executable you are running by executing the command below. cabal --version @@ -57,7 +64,8 @@

Install/Upgrade cabalQuick Start Guide

-

Start by installing the cabal executable (see the previous section) and the Haskell compiler ghc. +

Start by installing the cabal executable + (see the previous section) and the Haskell compiler ghc. It is also recommended to use ghcup to install ghc.

From 9951292bdd05e809665a6ab812c14f36da1a58bd Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Sun, 12 Nov 2023 09:50:05 -0500 Subject: [PATCH 5/9] Update index.html --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 9e8f570..1727acb 100644 --- a/index.html +++ b/index.html @@ -44,7 +44,8 @@

Install/Upgrade cabal If you have installed cabal using ghcup, then you can also upgrade it using ghcup. - If you installed the cabal executable using a different method, you can upgrade it by running: + If you installed the cabal executable using a different method, + you can upgrade it by running: cabal install cabal-install
From c29a8ac99c4752525e35c02ed3f8a79d18089094 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Sun, 12 Nov 2023 09:50:15 -0500 Subject: [PATCH 6/9] Update index.html --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 1727acb..41701c0 100644 --- a/index.html +++ b/index.html @@ -53,7 +53,8 @@

Install/Upgrade cabal~/.local/bin). In order to use this executable, you have to make sure that this directory appears in the $PATH variable before the location where your current cabal executable is located. - You can check which version of the cabal executable you are running by executing the command below. + You can check which version of the cabal executable + you are running by executing the command below. cabal --version From b4327f201962d0bec97626f708730dd950092b07 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Sun, 12 Nov 2023 09:50:31 -0500 Subject: [PATCH 7/9] Update index.html --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 41701c0..86ac6ef 100644 --- a/index.html +++ b/index.html @@ -68,7 +68,8 @@

Quick Start Guide

Start by installing the cabal executable (see the previous section) and the Haskell compiler ghc. - It is also recommended to use ghcup to install ghc. + It is also recommended to use ghcup to install + ghc.

Starting a new project

From 4cf66b44135657530d2c4a11e352e116d5b96245 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Sun, 12 Nov 2023 09:50:44 -0500 Subject: [PATCH 8/9] Update index.html --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 86ac6ef..52a857e 100644 --- a/index.html +++ b/index.html @@ -61,7 +61,8 @@

Install/Upgrade cabal

- If the update failed for any reason, see the Update Troubleshooting section below. + If the update failed for any reason, see the Update Troubleshooting + section below.

Quick Start Guide

From c798cd2bbae8b2ba01fb545c7f7836c5cebf3b30 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Sun, 12 Nov 2023 09:50:56 -0500 Subject: [PATCH 9/9] Update index.html --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 52a857e..e9a710f 100644 --- a/index.html +++ b/index.html @@ -68,7 +68,8 @@

Install/Upgrade cabalQuick Start Guide

Start by installing the cabal executable - (see the previous section) and the Haskell compiler ghc. + (see the previous section) and the Haskell compiler + ghc. It is also recommended to use ghcup to install ghc.