@hackage blunt0.0.10

Point-free Haskell as a service.

Blunt

Blunt makes Haskell expressions pointfree.


Blunt is a web front end to the pointfree library. While you can install and run it locally, there's no real reason to prefer it over the pointfree executable. Instead, use the hosted version on Heroku: https://evening-thicket-5270.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
$ git checkout master
$ git branch -D deploy