pointfree: Tool for refactoring expressions into pointfree form

[ library, program, tool ] [ Propose Tags ] [ Report a vulnerability ]

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.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.4.1, 1.0.4.3, 1.0.4.4, 1.0.4.5, 1.0.4.6, 1.0.4.7, 1.0.4.8, 1.1, 1.1.1.1, 1.1.1.2, 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
Change log ChangeLog
Dependencies array (>=0.3 && <0.6), base (>=4.5 && <4.21), containers (>=0.4 && <0.8), haskell-src-exts (>=1.20 && <1.24), transformers (<0.7) [details]
Tested with ghc ==9.0.2, ghc ==9.2.5, ghc ==9.4.5, ghc ==9.6.2, ghc ==9.8.2
License LicenseRef-OtherLicense
Author Thomas Jäger
Maintainer Ben Millwood <thebenmachine+git@gmail.com>
Revised Revision 1 made by Bodigrim at 2024-10-14T18:04:57Z
Category Tool
Source repo head: git clone git://github.com/bmillwood/pointfree.git
Uploaded by BenMillwood at 2024-04-25T18:18:03Z
Distributions NixOS:1.1.1.12
Reverse Dependencies 2 direct, 0 indirect [details]
Executables pointfree
Downloads 22363 total (96 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-04-25 [all 1 reports]

Readme for pointfree-1.1.1.12

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