Skip to content
Snippets Groups Projects
Commit 7bdf7942 authored by Nicolas Lenz's avatar Nicolas Lenz :snowflake:
Browse files

Updates

parent 10b619d8
No related branches found
No related tags found
No related merge requests found
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "Make", "label": "make",
"type": "shell", "type": "shell",
"command": "make", "command": "make -f template/makefile",
"problemMatcher": [], "problemMatcher": [],
"group": { "group": {
"kind": "build", "kind": "build",
......
...@@ -3,3 +3,11 @@ subtitle: An introductory Workshop ...@@ -3,3 +3,11 @@ subtitle: An introductory Workshop
author: Nicolas Lenz author: Nicolas Lenz
institute: "[eisfunke.com](https://www.eisfunke.com)" institute: "[eisfunke.com](https://www.eisfunke.com)"
logo: res/logo-haskell.png logo: res/logo-haskell.png
disclaimer: |
![CC BY-SA 4.0](res/cc.png){height=31px} \
This work is freely available under a \
**[Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0)](https://creativecommons.org/licenses/by-sa/4.0/)** \
license.
The source code of these slides can be found at <https://git.eisfunke.com/lab/fupro>.
res/cc.png

1.48 KiB

...@@ -22,8 +22,6 @@ Nicolas Lenz ...@@ -22,8 +22,6 @@ Nicolas Lenz
**My GitLab instance** (with some Haskell stuff): \ **My GitLab instance** (with some Haskell stuff): \
[git.eisfunke.com](https://git.eisfunke.com) [git.eisfunke.com](https://git.eisfunke.com)
You can find the source code of these slides at <https://git.eisfunke.com/lab/fupro>.
## Interaction & Questions ## Interaction & Questions
Interaction is important. Don't hesitate to ask questions! Interaction is important. Don't hesitate to ask questions!
......
# Basic Usage # Basic Usage
## Installation ## What you need
- Recommended: Install the [Haskell Platform](https://www.haskell.org/platform/) - a **code editor**. I recommend VSCodium/Visual Studio Code with the Haskell extension (`haskell.haskell`)
- Includes everything you need to start with Haskell - **GHC**, the Haskell compiler, including **GHCi**, the interactive Haskell shell
- Just installing the GHC alone is enough for this workshop - on Linux, install it using your package manager. The package is probably named `ghc` or similar. \
Alternatively, use ghcup: <https://www.haskell.org/ghcup/>
- on Windows, install using Chocolatey: <https://www.haskell.org/downloads/>.
- on macOS, install using ghcup: <https://www.haskell.org/ghcup/>
- **Stack**, the Haskell project, package and build tool. It can also run a GHCi using `stack ghci` if you couldn't install GHC directly
- on Linux, install it using your package manager
- alternatively and for other OS's: <https://docs.haskellstack.org/en/stable/install_and_upgrade/>
## What you need
### Most important:
You can start a somewhat current GHCi (version 8 or newer should be fine)
## GHCI ## GHCI
...@@ -29,11 +41,3 @@ ...@@ -29,11 +41,3 @@
Haskell can of course also be compiled into executable programs with `ghc`, but that comes later. Haskell can of course also be compiled into executable programs with `ghc`, but that comes later.
For now we'll use only the GHCi. It's great for trying out stuff. For now we'll use only the GHCi. It's great for trying out stuff.
## Stack
Just so you know: for projects, you'd want to use Stack.
https://docs.haskellstack.org/en/stable/README/
All-in-one build tool & "package manager"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment