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

https://github.com/morucci/haskell-boiletplate

An Haskell project skeleton based on nix and cabal
https://github.com/morucci/haskell-boiletplate

Last synced: about 1 year ago
JSON representation

An Haskell project skeleton based on nix and cabal

Awesome Lists containing this project

README

          

# Haskell template

This is a Haskell project template based on Cabal and Nix.

The nix shell provides the Haskell Language Server, hlint, fourmolu and weeder.

## Usage

First,

- Change occurances to "my-project" with your project name in my-project.cabal and flake.nix.
- Rename my-project.cabal file accorning to your project name.

Then, run nix develop and start code editor. If using VSCode you might need to install the Haskell plugin to interact with HLS.

```
$ nix develop
$ code .
# you can open a terminal inside your code editor and run:
# To get a REPL : cabal repl
# To get interactive feedback : ghcid
```