@@ -21,7 +21,7 @@ Stack features:
21
21
## How to install Stack
22
22
23
23
Stack can be installed on most Unix-like operating systems (including macOS) and
24
- on Windows.
24
+ Windows.
25
25
26
26
=== "Unix-like"
27
27
@@ -62,10 +62,15 @@ on Windows.
62
62
For other operating systems and direct downloads, see the
63
63
[install and upgrade guide](install_and_upgrade.md).
64
64
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
+
65
70
## How to upgrade Stack
66
71
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:
69
74
70
75
~~~ text
71
76
stack upgrade
@@ -151,14 +156,16 @@ The Haskell source code for the executable (application) is in file `Main.hs`.
151
156
152
157
The executable uses a library. Its source code is in file ` Lib.hs ` .
153
158
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 ` .
156
161
157
162
!!! info
158
163
159
164
If you want, you can delete the `package.yaml` file and update the
160
165
`my-project.cabal` file directly. Stack will then use that file.
161
166
167
+ The contents of ` stack.yaml ` describe Stack's own project-level configuration.
168
+
162
169
You can edit the source files in the ` src ` directory (used for the library) or
163
170
the ` app ` directory (used for the executable (application)).
164
171
0 commit comments