Skip to content

Commit 1d4b7f1

Browse files
Martinsostomjaguarpaw
authored andcommitted
fixed spelling.
1 parent 2beb2a7 commit 1d4b7f1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

site/get-started.markdown

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,28 @@ isGettingStarted: true
55
---
66

77
# Get started
8-
Welcome, new Haskeller! Read on to quickly set up you Haskell dev environment, execute your first lines of code, and get directions for further learning!
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!
99

1010
## Set up Haskell dev environment
1111

1212
### GHCup - universal installer
1313

1414
[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, ...).
1515

16-
It is simple to use, works the same way on all platforms (Linux, macOS, Windows) and gives you one central place/method to take care of your Haskell development setup.
16+
It is simple to use, works the same way on all platforms (Linux, macOS, Windows), and gives you one central place/method to take care of your Haskell development setup.
1717

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

20-
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.
20+
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.
2121
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.
22-
3. **cabal** -> Haskell build tool -> You will use this to structure your Haskell projects, build them, run them, define dependencies, ....
22+
3. **cabal** -> Haskell build tool -> You will use this to structure your Haskell projects, build them, run them, define dependencies, ...
2323
4. **Stack** -> Haskell build tool -> alternative to `cabal`
2424

2525

2626
<div class="bs-callout bs-callout-info">
2727
<p>
2828
<h4>cabal and Stack -> which one should I install?</h4>
29-
cabal is the original build tool, while Stack was created as an alternative to cabal a time ago to solve some of the problems that cabal had and provide more user-friendly experience. In the meantime, cabal solved most of those issues (including "cabal hell") and caught up with Stack regarding user experience, so main difference between them at the moment is how they resolve dependencies, which for you as a beginner isn't really a concern. Therefore, both are good choice, and if not sure, you can install both and then use whatever the learning resources you will later use will point you to.
29+
cabal is the original build tool, while Stack was created as an alternative to cabal a time ago to solve some of the problems that cabal had and provide a more user-friendly experience. In the meantime, cabal solved most of those issues (including "cabal hell") and caught up with Stack regarding user experience, so the main difference between them at the moment is how they resolve dependencies, which for you as a beginner isn't a concern. Therefore, both are a good choice, and if not sure, you can install both and then use whatever the learning resources you will later use will point you to.
3030
</p>
3131
</div>
3232

@@ -43,7 +43,7 @@ HLS (Haskell Language Server), which you just installed via GHCup, is the one th
4343

4444
The most straightforward option is to go with **Visual Studio Code** - just install [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.
4545

46-
Of other editors that have good Haskell extensions, most popular ones are Vim and Emacs.
46+
Of other editors that have good Haskell extensions, the most popular ones are Vim and Emacs.
4747

4848
## Running first lines of code
4949

@@ -61,7 +61,7 @@ Let's do a simple calculation to check Haskell's computing capabilities:
6161
```
6262
Hey, they call Haskell lazy, but that was quick!
6363

64-
42 is a nice even number, but what about the even numbers after it? Let's get first 10 even numbers after 42.
64+
42 is a nice even number, but what about the even numbers after it? Let's get the first 10 even numbers after 42.
6565
```
6666
> take 10 $$ filter even [43..]
6767
[44,46,48,50,52,54,56,58,60,62]
@@ -72,13 +72,13 @@ What is the sum of those?
7272
> sum it
7373
530
7474
```
75-
**NOTE**: We used a special feature of GHCi here, which is a special `it` variable that remembers the result of last expression.
75+
**NOTE**: We used a special feature of GHCi here, which is a special `it` variable that remembers the result of the last expression.
7676

77-
Great, you got a first taste of Haskell! Now let's get to running a real program.
77+
Great, you got the first taste of Haskell! Now let's get to running a real program.
7878

7979
## Writing your first Haskell program
8080

81-
In your editor, create new file named `hievb.hs`.
81+
In your editor, create a new file named `hievb.hs`.
8282

8383
Write the following in it:
8484
```
@@ -97,7 +97,7 @@ Pls look at my favorite odd numbers: [11,13,15,17,19]
9797

9898
There you go, you just wrote a short, polite program in Haskell!
9999

100-
**TIP**: To interpret the source file directly, without producing any build artifacts, you can use speical `runghc` command like this:
100+
**TIP**: To interpret the source file directly, without producing any build artifacts, you can use the special `runghc` command like this:
101101
```
102102
> runghc hievb.hs
103103
Hi, everybody!
@@ -116,7 +116,7 @@ Hi evb!
116116

117117
## Join the community
118118

119-
By joining the Haskell community you will find a great place to ask for help and also to learn about new developments in the Haskell ecosystem.
119+
By joining the Haskell community you will find a great place to ask for help and learn about new developments in the Haskell ecosystem.
120120

121121
Some of the most popular communities are:
122122

@@ -130,7 +130,7 @@ Check [https://www.haskell.org/community](https://www.haskell.org/community) for
130130

131131
## Next steps
132132

133-
There is a myth going around that you need PhD in maths to be able to learn Haskell - and while it is true that Haskell in its elegance does often come close to elegance of mathematics and borrows a lot of concepts from it, you certainly don't need any advanced math knowledge to be proficient with Haskell. Instead, what you need are some good learning resources!
133+
There is a myth going around that you need Ph.D. in maths to be able to learn Haskell - and while it is true that Haskell in its elegance does often come close to the elegance of mathematics and borrows a lot of concepts from it, you certainly don't need any advanced math knowledge to be proficient with Haskell. Instead, what you need are some good learning resources!
134134

135135
Some popular free learning resources for beginners:
136136

0 commit comments

Comments
 (0)