blunt: Point-free Haskell as a service.

[ deprecated, library, mit, program, web ] [ Propose Tags ]
Deprecated

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.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.13, 0.0.14, 0.0.15, 0.0.16, 0.0.17, 1.0.0, 1.0.1, 1.0.2
Change log CHANGELOG.md
Dependencies aeson (>=0.8 && <0.9), array (>=0.3 && <0.6), base (>=4 && <5), blunt, bytestring (>=0.10 && <0.11), clay (>=0.10 && <0.11), containers (>=0.4 && <0.6), haskell-src-exts (>=1.16 && <1.17), http-types (>=0.8 && <0.9), jmacro (>=0.6 && <0.7), lucid (>=2 && <3), pointful (>=1.0.6 && <2), text (>=1 && <2), transformers (<0.5), wai (>=3 && <4), warp (>=3 && <4), wl-pprint-text (>=1 && <2) [details]
License MIT
Author
Maintainer Taylor Fausak <taylor@fausak.me>
Category Web
Home page https://blunt.herokuapp.com
Bug tracker https://github.com/tfausak/blunt/issues
Source repo head: git clone https://github.com/tfausak/blunt
Uploaded by fozworth at 2015-03-26T04:59:20Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables blunt
Downloads 12949 total (50 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-03-26 [all 1 reports]

Readme for blunt-0.0.13

[back to package description]

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

# Create a new app on Heroku using the Haskell on Heroku buildpack.
$ heroku apps:create --buildpack https://github.com/mietek/haskell-on-heroku

# Let Halcyon know that we need happy installed.
$ heroku config:set HALCYON_SANDBOX_EXTRA_APPS='happy'

# Configure AWS S3.
$ heroku config:set HALCYON_AWS_ACCESS_KEY_ID='...'
$ heroku config:set HALCYON_AWS_SECRET_ACCESS_KEY='...'
$ heroku config:set HALCYON_S3_BUCKET='...'

# Push the code up to Heroku. Note that this build is expected to fail.
$ git push heroku master

# Build the app on a PX dyno.
$ heroku run --size PX build

# Force Heroku to rebuild the app using the cache built in the last step.
$ git commit --amend --no-edit
$ git push --force heroku master

# Scale up a web dyno to serve requests.
$ heroku ps:scale web=1