-
Notifications
You must be signed in to change notification settings - Fork 102
Start coding section #208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Start coding section #208
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
dbb975a
add start-coding markdown
lsmor 7213469
delete stack integration for reference to stack's configuration
lsmor 6b918c0
shorter header
lsmor df2cbc1
typo
lsmor b04e139
change link position to first
lsmor 623f121
Update site/start-coding.markdown
lsmor 29ad99a
Update site/start-coding.markdown
lsmor 471bfea
added playground and fix typo
lsmor 260759a
fix link text
lsmor 0159559
add learn haskell subtitle
lsmor 4547695
better phrasing
lsmor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: Start Coding Now | ||
page: start-coding | ||
isSetUp: true | ||
--- | ||
|
||
## Install a development environment in three steps | ||
|
||
A Haskell development environment consists of: | ||
|
||
- a compiler (`ghc`) | ||
- a language server (`hls`) | ||
- a build tool (`cabal` and/or `stack`) | ||
- an editor compatible with the language server protocol. | ||
|
||
It is recommended to use `ghcup` to manage your haskell toolchain and `vscode` as your editor. | ||
|
||
- **Step 1**: Install [GHCup](https://www.haskell.org/ghcup/). You'll be prompted to install some tools: Install `hls` and optionally `stack`. (`stack` users should [configure it properly](https://docs.haskellstack.org/en/stable/Stack_and_VS_Code/#workaround-1)). | ||
- **Step 2**: Install [vscode](https://code.visualstudio.com/). For integration with other editors see `hls` [documentation](https://haskell-language-server.readthedocs.io/en/latest/configuration.html#configuring-your-editor) | ||
- **Step 3**: Open `vscode` and install the [haskell extension](https://marketplace.visualstudio.com/items?itemName=haskell.haskell) either using the extension panel or pressing CTRL+P and `ext install haskell.haskell`. | ||
|
||
## Try without installing Haskell | ||
|
||
If you don't want to install the Haskell toolchain locally, you can: | ||
|
||
- Try it in the [Haskell Playground](https://play-haskell.tomsmeding.com/) | ||
|
||
- Use a complete visual studio code environment in Gitpod. | ||
|
||
[](https://gitpod.io/#https://github.com/gitpod-io/template-haskell) | ||
|
||
## Learn Haskell | ||
|
||
Now you are ready to code. Pick up a learning resource from the [documentation page](/documentation/) and start to learn Haskell. Also, you may want to familiarize yourself with the build tool of your choice and the library ecosystem. Check out sections [Manuals and guides](/documentation/#manuals-and-guides) and [Library Documentation](/documentation/#library-documentation) for this purpose. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.