Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/friedbrice/realworldhaskell

Exercises from the popular book by Bryan O'Sullivan, Don Stewart, and John Goerzen.
https://github.com/friedbrice/realworldhaskell

Last synced: 22 days ago
JSON representation

Exercises from the popular book by Bryan O'Sullivan, Don Stewart, and John Goerzen.

Awesome Lists containing this project

README

        

# RealWorldHaskell

My solutions to exercises from the popular book by Bryan O'Sullivan, Don
Stewart, and John Goerzen.

## Setting up Dev Environment

- Install `haskell-platform`, `haskell-platform-doc`, and
`haskell-platform-prof`

This should bring in `ghc`, `haddock`, `alex`, `happy`, and others.

- Install `hlint`, `hoogle`, and `luakit`

- Copy `hoogle.desktop` to `~/.local/share/applications`

- Copy `hoogle.service` to `/etc/systemd/system`

- Create a system user called `hoogle`

```
# useradd -r hoogle
```

- Create `/var/log/hoogle` and set ownership and mod rules

```
# mkdir /var/log/hoogle
# chown hoogle:hoogle /var/log/hoogle
# chmod 775 /var/log/hoogle
```

- Start and Enable `hoogle.service` in systemd

(If you're not using `systemd` (wut?!),
add `hoogle server --local --port 1080` to your startup services,
however you happen to do so on your system.)