pointfree-fancy: Tool for refactoring expressions into pointfree form

[ bsd3, library, program, tool ] [ Propose Tags ]

The pointfree tool is a standalone command-line version of the pl plugin for lambdabot.


[Skip to Readme]

Modules

[Index]

  • Pointfree

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.1.1.3, 1.1.1.4, 1.1.1.5, 1.1.1.6, 1.1.1.7, 1.1.1.8, 1.1.1.9, 1.1.1.10, 1.1.1.11, 1.1.1.12, 1.1.1.13, 1.1.1.14, 1.1.1.15
Change log ChangeLog
Dependencies array (>=0.3 && <0.6), base (>=4.8 && <5.0), containers (>=0.4 && <0.7), haskell-src-exts (>=1.18 && <1.21), pointfree-fancy, transformers (<0.6) [details]
License BSD-3-Clause
Author Thomas Jäger
Maintainer Vanessa McHale <vamchale@gmail.com>
Category Tool
Source repo head: git clone git://github.com/benmachine/pointfree.git
Uploaded by vmchale at 2018-07-14T03:12:09Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables pointfree
Downloads 6219 total (29 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
Last success reported on 2018-07-14 [all 1 reports]

Readme for pointfree-fancy-1.1.1.8

[back to package description]
Pointfree refactoring tool
==========================

Stand-alone command-line version of the point-less plugin for lambdabot. 
Detailed information about the use of this tool is available at 
http://haskell.org/haskellwiki/Pointfree.

Integration with GHCi: Make sure that the directory containing the pointfree 
executable is in your PATH environment variable and add the following line to 
your GHCi configuration file:

:def pf \str -> return $ ":! pointfree \"" ++ str ++ "\""

Or modify the line to point directly to the executable. Invoke pointfree with 
commands like

:pf \x y -> x + y

Future directions
=================

It would be nice to make pointfree a library that operated on ASTs.