dhall-haskell/dhall-try
Simon Jakobi dedd5e0ea6
Strip trailing whitespace (#1422)
This raises the lower bound on prettyprinter to 1.5.1 since
`removeTrailingWhitespace` is buggy in earlier versions.

This jailbreaks hnix, which isn't compatible with prettyprinter-1.5.1 yet.

Fixes #183, #1400, #1525. 

Co-authored-by: Gabriel Gonzalez <Gabriel439@gmail.com>
2019-11-14 14:43:35 +01:00
..
src Revamp dhall-lang.org (#1526) 2019-11-13 08:34:44 -08:00
completion.gif Revamp dhall-lang.org (#1526) 2019-11-13 08:34:44 -08:00
default.nix Add "Try Dhall" project (#739) 2018-12-06 18:00:03 -08:00
dhall-try.cabal Strip trailing whitespace (#1422) 2019-11-14 14:43:35 +01:00
hash.gif Revamp dhall-lang.org (#1526) 2019-11-13 08:34:44 -08:00
index.html Revamp dhall-lang.org (#1526) 2019-11-13 08:34:44 -08:00
LICENSE Add "Try Dhall" project (#739) 2018-12-06 18:00:03 -08:00
README.md Add contributing instructions for the website (#760) 2018-12-20 10:36:10 -08:00
Setup.hs Add "Try Dhall" project (#739) 2018-12-06 18:00:03 -08:00
shell.nix Add "Try Dhall" project (#739) 2018-12-06 18:00:03 -08:00

dhall-try

For installation or development instructions, see:

How to contribute

You will most likely want to edit index.html if you want to improve the site. The vast majority of the site logic is embedded within that monolithic document, including a substantial amount of inline JavaScript, inline CSS, and all of the code examples.

The src directory contains the code for interpreting the live code demo, powered by the dhall/dhall-json packages compiled to JavaScript using GHCJS. You only need to modify that Haskell source code if you would like to extend the site with new Haskell-derived functionality.

The website.nix file contains the top-level logic for building the site, including bundling of JavaScript/CSS/image assets. You will also want to refer to shared.nix for related logic to build each bundled dependency.