fieldstrength / stack-templates

Templates I use for new haskell projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My Stack Templates

Some templates I use for new Haskell projects.

I tend to start with basic-prelude, a bunch of common-sense language extensions, -Wall and other recommended warnings.

Usage:

stack new projectname ~/dir/stack-templates/app.hsfiles

For more info see the stack documentation.

For another approach to the same task, see summoner.

app.hsfiles

For applications. In addition to BasicPrelude, it adds a couple dependencies that I always end up using: text and safe (for fixed versions of prelude functions like headMay, tailSafe, Partial, etc.)

lib

Start a library-only package using BasicPrelude.

Universum

Start a new library based on the universum prelude, which seems promising.

About

Templates I use for new haskell projects