Skip to content

Commit aa2a5da

Browse files
committed
fixes
1 parent de19bd7 commit aa2a5da

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

site/get-started.markdown

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ Welcome, new Haskeller! Read on to quickly set up your Haskell dev environment,
1818

1919
## Set up Haskell dev environment
2020

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:
22+
23+
1. Use GHCup to install and manage Haskell toolchain.
24+
2. Use VSCode as the editor, with the Haskell extension installed.
25+
2126
### GHCup: universal installer
2227

2328
[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, ...).
@@ -40,7 +45,7 @@ Follow instructions at [GHCup webpage](https://www.haskell.org/ghcup/#) to insta
4045
### Editor
4146
**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.
4247

43-
Of other editors that have good Haskell extensions, the most popular ones are Vim and Emacs.
48+
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).
4449

4550
## Running first lines of code
4651

@@ -79,7 +84,7 @@ Write the following in it:
7984
```hs
8085
main = do
8186
putStrLn "Hello, everybody!"
82-
putStrLn ("Please look at my favorite odd numbers: " ++ filter odd [10..20])
87+
putStrLn ("Please look at my favorite odd numbers: " ++ show (filter odd [10..20]))
8388
```
8489

8590
You can now compile it with `ghc`, which will produce `hello` binary that we will then run:

0 commit comments

Comments
 (0)