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]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

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.9 && <5.0), containers (>=0.4 && <0.8), haskell-src-exts (>=1.20 && <1.24), pointfree-fancy, transformers (<0.7) [details]
License BSD-3-Clause
Author Thomas Jäger
Maintainer Vanessa McHale <vamchale@gmail.com>
Revised Revision 3 made by vmchale at 2023-10-05T16:55:16Z
Category Tool
Source repo head: git clone git://github.com/benmachine/pointfree.git
Uploaded by vmchale at 2019-11-27T00:54:46Z
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 available [build log]
Last success reported on 2019-11-27 [all 1 reports]

Readme for pointfree-fancy-1.1.1.15

[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.