This repository contains the code powering the haskell-lang.org web site. This website is a community driven website for the Haskell programm language. Its primary motivators are:
- A destination that Haskellers can happily send non-Haskellers to in order to discover Haskell and get started with modern best practices.
- A source of information for existing Haskellers to discover up-to-date information
- A collection of links to various online communities
- A hub for sharing and hosting documentation for all levels of Haskellers
This list is not meant to be exclusive. If there are other ideas people have for content on this website, feel free to raise it in the issue tracker, on Reddit, or on Twitter.
We're going to make a more straight-forward story for contributing
content changes that should simply involve editing markdown files
under static/markdown/
.
Run these steps:
- Clone the repo:
$ git clone git@github.com:haskell-lang/haskell-lang.git
- Install dependencies and build:
$ stack build
If text-icu
fails to build, you'll want to install the icu dev
libraries (the appropriate include/lib directories are configured in
the stack.yaml
already):
- Mac OS X:
brew install icu4c
- Ubuntu/Debian:
$ sudo apt-get install libicu-dev
It runs at: http://localhost:1990/
- Manually running the binary:
$ stack exec haskell-lang
- Running from inside GHCi: Load
DevelMain
and runDevelMain.update
It uses Yesod and an MVC organization.
- HL.Model.* -- models
- HL.View.* -- views
- HL.Controller.* -- controllers
Templates are written in Lucid. There is presently no database.