The blunt package

[Tags:deprecated, library, mit, program]
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]

Properties

Versions 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.*), base (==4.*), blunt, bytestring (==0.10.*), clay (==0.10.*), flow (==1.*), http-types (==0.8.*), jmacro (==0.6.*), lucid (==2.*), pointfree (>=1.1 && <2), pointful (>=1.0.6 && <2), text (==1.*), wai (==3.*), wai-extra (==3.*), wai-websockets (==3.*), warp (==3.*), websockets (==0.9.*), wl-pprint-text (==1.*) [details]
License MIT
Author
Maintainer Taylor Fausak <taylor@fausak.me>
Stability Unknown
Category Web
Home page https://blunt.herokuapp.com
Bug tracker https://github.com/tfausak/blunt/issues
Source repository head: git clone https://github.com/tfausak/blunt
Uploaded Tue Apr 14 13:56:06 UTC 2015 by fozworth
Distributions NixOS:1.0.2
Downloads 2207 total (9 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2015-04-14 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for blunt

Readme for blunt-1.0.2

<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="Version" src="https://img.shields.io/hackage/v/blunt.svg?label=version&amp;style=flat-square"></a> <a href="http://packdeps.haskellers.com/feed?needle=blunt"><img alt="Dependencies" src="https://img.shields.io/hackage-deps/v/blunt.svg?label=dependencies&amp;style=flat-square"></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 ==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