The blunt package

[maintain]
Warnings:

https://github.com/tfausak/blunt


[Skip to ReadMe]

Properties

Versions0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.0.16, 0.0.17, 1.0.0, 1.0.1, 1.0.2
Dependenciesaeson (==0.8.*), array (>=0.3 && <0.6), base (==4.*), blunt, bytestring, containers (>=0.4 && <0.6), haskell-src-exts (==1.16.*), http-types, pointful (>=1.0.6 && <2), transformers (<0.5), wai, warp (==3.*) [details]
LicenseMIT
MaintainerTaylor Fausak <taylor@fausak.me>
CategoryWeb
Source repositoryhead: git clone https://github.com/tfausak/blunt
Executablesblunt
UploadedWed Mar 25 13:19:53 UTC 2015 by fozworth

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for blunt-0.0.12

<h1 align="center"> <a href="https://github.com/tfausak/blunt"> Blunt </a> </h1> <p align="center"> Blunt converts between pointfree and pointful Haskell expressions. </p> <p align="center"> <a href="https://hackage.haskell.org/package/blunt"> <img alt="" src="https://img.shields.io/hackage/v/blunt.svg"> </a> <a href="http://packdeps.haskellers.com/feed?needle=blunt"> <img alt="" src="https://img.shields.io/hackage-deps/v/blunt.svg"> </a> </p> <hr>

Blunt is a web front end to the pointfree and pointful libraries. While you can install and run it locally, there's no real reason to prefer it over the pointfree and pointful executables. Instead, use the hosted version: https://blunt.herokuapp.com.

Install

$ cabal update
$ cabal install 'blunt ==0.0.*'

Use

$ blunt
# http://localhost:8080

$ env PORT=8888 blunt
# http://localhost:8888

Develop

$ git clone https://github.com/tfausak/blunt
$ cd blunt

$ cabal sandbox init
$ cabal install happy
$ cabal install

Deploy

$ heroku create
$ git checkout -b deploy
$ echo '{}' > package.json
$ echo 'web: ./blunt' > Procfile
$ cp dist/build/blunt/blunt .
$ git add package.json Procfile blunt
$ git commit --allow-empty-message --message ''
$ git push --force heroku deploy:master