blunt: Convert between pointfree and pointful expressions.

[ deprecated, library, mit, program, web ] [ Propose Tags ] [ Report a vulnerability ]
Deprecated

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 at blunt.herokuapp.com.


[Skip to Readme]

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), base (>=4 && <5), blunt, bytestring (>=0.10 && <0.11), clay (>=0.10 && <0.11), flow (>=1 && <2), http-types (>=0.8 && <0.9), jmacro (>=0.6 && <0.7), lucid (>=2 && <3), pointfree (>=1.1 && <2), pointful (>=1.0.6 && <2), text (>=1 && <2), wai (>=3 && <4), wai-extra (>=3 && <4), wai-websockets (>=3 && <4), warp (>=3 && <4), websockets (>=0.9 && <0.10), 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-04-14T13:56:06Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables blunt
Downloads 13264 total (43 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-04-14 [all 1 reports]

Readme for blunt-1.0.2

[back to package description]

Blunt

Blunt converts between pointfree and pointful Haskell expressions.

Version Dependencies


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 ==1.*'

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 --only-dependencies
$ cabal run
# http://localhost:8080

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