@hackage pointfree1.1.1.12
Tool for refactoring expressions into pointfree form
Categories
License
LicenseRef-OtherLicense
Maintainer
Ben Millwood <thebenmachine+git@gmail.com>
Links
Versions
Installation
Tested Compilers
Dependencies (5)
- 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 Show all…
Dependents (2)
@hackage/blunt, @hackage/acme-everything
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.