Readme for pointfree-1.0.4.5
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
Status
======
Not all of the testsuite passes, but one failure is due to a bug in HSE (see
http://code.google.com/p/haskell-src-exts/issues/detail?id=24 ) and many of the
others I'm not sure if they ever succeeded, and are mostly failures to
optimise, rather than actual correctness bugs.
Future directions
=================
It would be nice to make pointfree a library that operated on ASTs, or at the
very least on strings.