Skip to content

Commit d663339

Browse files
committed
Merge branch 'stable'
2 parents fcd3d7f + 493f01c commit d663339

File tree

3 files changed

+379
-328
lines changed

3 files changed

+379
-328
lines changed

doc/README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Stack features:
2121
## How to install Stack
2222

2323
Stack can be installed on most Unix-like operating systems (including macOS) and
24-
on Windows.
24+
Windows.
2525

2626
=== "Unix-like"
2727

@@ -62,10 +62,15 @@ on Windows.
6262
For other operating systems and direct downloads, see the
6363
[install and upgrade guide](install_and_upgrade.md).
6464

65+
!!! info
66+
67+
Stack can also be installed using the separate
68+
[GHCup](https://www.haskell.org/ghcup/) installer for Haskell-related tools.
69+
6570
## How to upgrade Stack
6671

67-
If you already have Stack installed, you can upgrade it to the latest version
68-
by the command:
72+
If Stack is already installed, you can upgrade it to the latest version by the
73+
command:
6974

7075
~~~text
7176
stack upgrade
@@ -151,14 +156,16 @@ The Haskell source code for the executable (application) is in file `Main.hs`.
151156

152157
The executable uses a library. Its source code is in file `Lib.hs`.
153158

154-
The contents of `my-project.cabal` describes the project. That file is generated
155-
by the contents of `package.yaml`.
159+
The contents of `my-project.cabal` describes the project's package. That file is
160+
generated by the contents of `package.yaml`.
156161

157162
!!! info
158163

159164
If you want, you can delete the `package.yaml` file and update the
160165
`my-project.cabal` file directly. Stack will then use that file.
161166

167+
The contents of `stack.yaml` describe Stack's own project-level configuration.
168+
162169
You can edit the source files in the `src` directory (used for the library) or
163170
the `app` directory (used for the executable (application)).
164171

0 commit comments

Comments
 (0)