@hackage blunt0.0.12

Point-free Haskell as a service.

Blunt

Blunt converts between pointfree and pointful Haskell expressions.


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