Skip to content

Commit 62e5551

Browse files
Styling improvements.
Co-authored-by: Tom Ellis <[email protected]>
1 parent fd568bf commit 62e5551

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

site/get-started.markdown

+18-15
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ isGettingStarted: true
55
---
66

77
# Get started
8-
Welcome, new Haskeller! Read on to quickly set up your Haskell dev environment, execute your first lines of code, and get directions for further learning!
8+
9+
Welcome, new Haskeller!
10+
11+
Read on to quickly set up your Haskell dev environment, execute your first lines of code, and get directions for further learning.
912

1013
## Content
1114
- [Set up Haskell dev environment](#set-up-haskell-dev-environment)
@@ -18,42 +21,42 @@ Welcome, new Haskeller! Read on to quickly set up your Haskell dev environment,
1821

1922
## Set up Haskell dev environment
2023

21-
Complete Haskell dev environment consists of Haskell toolchain (compiler, language server, build tool) and editor with good haskell support. The quickest way to get this set up is to:
24+
A complete Haskell dev environment consists of the Haskell toolchain (compiler, language server, build tool) and an editor with good Haskell support. The quickest way to get this set up is to:
2225

23-
1. Use GHCup to install and manage Haskell toolchain.
24-
2. Use VSCode as the editor, with the Haskell extension installed.
26+
1. Use **GHCup** to install and manage Haskell toolchain.
27+
2. Use **VSCode** as the editor, with the Haskell extension installed.
2528

2629
### GHCup: universal installer
2730

2831
[GHCup](https://www.haskell.org/ghcup/#) is a universal installer for Haskell that will install for you everything you need to program in Haskell, and then will also help you manage those installations in the future (update, switch versions, ...).
2932

30-
Follow instructions at [GHCup webpage](https://www.haskell.org/ghcup/#) to install GHCup. Then, use it to install the Haskell Toolchain, which consists of:
33+
Follow the instructions on the [GHCup webpage](https://www.haskell.org/ghcup/#) to install GHCup. Then use it to install the Haskell Toolchain, which consists of:
3134

32-
1. **GHC** -> Haskell compiler. We will use it below to run our examples, but in practice, you will mostly be using a build tool like `cabal` or `Stack` to build your code, instead of `GHC` directly.
33-
2. **HLS** -> Haskell Language Server -> You won't use this directly, instead your code editor will use it in the background to provide you with a great experience while editing Haskell code.
34-
3. **cabal** -> Haskell build tool -> You will use this to structure your Haskell projects, build them, run them, define dependencies, ...
35-
4. **Stack** -> Haskell build tool -> alternative to `cabal`
35+
1. **GHC** -> The Haskell compiler -> We will use it below to run our examples, but in practice, you will mostly be using a build tool like Cabal or Stack to build your code, instead of GHC directly.
36+
2. **HLS** -> The Haskell Language Server -> You won't use this directly, instead your code editor will use it in the background to provide you with a great experience while editing Haskell code.
37+
3. **Cabal** -> A Haskell build tool -> You will use this to structure your Haskell projects, build them, run them, define dependencies, ... .
38+
4. **Stack** -> A Haskell build tool -> An alternative to Cabal.
3639

3740

3841
<div class="bs-callout bs-callout-info">
3942
<p>
40-
<h4>cabal and Stack -> which one should I install?</h4>
41-
We recommend installing both. Most Haskell projects can be built using Cabal, but some might require Stack. Installing both guarantees that you can use either, and while following the tutorial/book you can use whatever they recommend.
43+
<h4>Cabal and Stack -> which one should I install?</h4>
44+
We recommend installing both. Most Haskell projects can be built using Cabal, but some might require Stack. Installing both guarantees that you can use either, and while following a tutorial or book you can use whatever they recommend.
4245
</p>
4346
</div>
4447

4548
### Editor
46-
**Visual Studio Code** is a popular choice with well supported editor integration. Install the [Haskell extension](https://marketplace.visualstudio.com/items?itemName=haskell.haskell) and you are all set. It should work out of the box and use your installation of HLS.
49+
**Visual Studio Code** is a popular choice with well-supported Haskell integration. Install the [Haskell extension](https://marketplace.visualstudio.com/items?itemName=haskell.haskell) and you are all set. It should work out of the box and use your installation of HLS.
4750

4851
To learn about support for other editors, check out [HLS docs for editor configuration](https://haskell-language-server.readthedocs.io/en/latest/configuration.html#configuring-your-editor).
4952

50-
## Running first lines of code
53+
## Running your first lines of code
5154

5255
We have everything set up, let's use it!
5356

54-
`GHC` brings an interactive interpreter called `GHCi` together with it, which is great for playing with Haskell and trying things out, so let's give it a spin.
57+
The Haskell compiler, GHC, comes with an interactive interpreter called GHCi which is great for playing with Haskell and trying things out, so let's give it a spin.
5558

56-
Run `ghci`, which should start a new prompt for you.
59+
Run `ghci` at your command prompt, which will start a new GHCi prompt for you.
5760

5861
Let's do a simple calculation to check Haskell's computing capabilities:
5962
```

0 commit comments

Comments
 (0)