Haskell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
other
test
.gitattributes
.gitignore
.hlint.yaml
.travis.yml
.weeder.yaml
LICENSE
Setup.hs
index.html
package.yaml
readme.md
stack.yaml

readme.md

readme-lhs Build Status

The language in which we express our ideas has a strong influence on our thought processes. ~ Knuth

A literate-programming friendly; tight work-flow stack template.

other/readme-lhs.hsfiles

stack new project-name readme-lhs
cd project-name
stack build
$(stack path --local-install-root)/bin/readme-lhs-example
$(stack path --local-bin)/pandoc -f markdown -i other/header.md readme.md example/example.lhs other/footer.md -t html -o index.html --filter pandoc-include --mathjax

Which:

  • runs an executable, which places some output in a markdown file
  • gathers together the readme.md and the example.lhs into an index.html

alternative templates

Or grab some of the other templates from this repo:

other/readme-hs.hsfiles

like the lhs version, but hs based

other/batteries.hsfiles

This is my latest working template, overly influenced by lexi-lambda's opinionated guide. The template includes:

  • some minor tweaks to protolude
  • lens, foldl, formatting & text as must have libraries
  • generic-lens-labels