pointful: Pointful refactoring tool

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

Stand-alone command-line version of the pointful plugin for Lambdabot.


[Skip to ReadMe]

Properties

Versions1.0, 1.0.1, 1.0.2, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.11.0, 1.0.11.0
Change logCHANGELOG.md
Dependenciesbase (>=4.7 && <4.12), containers (>=0.4 && <0.6), haskell-src-exts-simple (>=1.18 && <1.21), mtl (>=2 && <2.3), pointful, syb (>=0.3 && <0.8), transformers (>=0.2 && <0.6) [details]
LicenseBSD-3-Clause
AuthorThomas Jäger, Bertram Felgenhauer, James Cook et al.
MaintainerMikhail Glushenkov <mikhail.glushenkov@gmail.com>
CategoryDevelopment
Home pagehttp://github.com/23Skidoo/pointful
Source repositoryhead: git clone https://github.com/23Skidoo/pointful.git
this: git clone https://github.com/23Skidoo/pointful.git(tag pointful-1.0.11.0)
Executablespointful
UploadedTue Mar 20 12:26:59 UTC 2018 by MikhailGlushenkov

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for pointful-1.0.11.0

[back to package description]

pointful Build Status

Stand-alone command-line version of the pointful plugin for Lambdabot.

This tool transforms Haskell expressions from the implicit pointfree style to the explicit pointful style. This makes it easier to understand such expressions.

For example, consider the expression max 100 . uncurry max, which is in pointfree style. In pointful style, this becomes \ tuple -> max 100 ((uncurry max) tuple). With a little additional investigation around uncurry max, it can be determined that this expression takes a 2-tuple and returns the maximum of its elements and 100.

Installation

cabal install pointful

Usage

$ pointful "max 100 . uncurry max"
\ c -> max 100 ((uncurry max) c)

Credits

Pointful plugin code taken from Lambdabot. Originally written by Thomas J├Ąger (?).