I check
ghc-pkg list
but it is not there.
ghc-pkg
only knows and cares about installed libraries. pointfree
is an executable without accompanying library, so ghc-pkg
doesn't know about it.
Since $HOME/Library/Haskell/bin
is in your PATH
, and the executable is linked to there, you can simply run it from the command line
$ pointfree "\f x y -> f y x"
flip
(or something like that, it's been a long time since I played with pointfree).
the x is odd...
That looks like a parse error message from parsec
. I have no idea what may have written it to that file, though.
$ ghc-pkg check
Warning: haddock-interfaces: /Library/Haskell/ghc-7.4.2/lib/haskell-platform-2012.4.0.0/doc/html/haskell-platform.haddock doesn't exist or isn't a file
Warning: haddock-html: /Library/Haskell/ghc-7.4.2/lib/haskell-platform-2012.4.0.0/doc/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /Library/Haskell/ghc-7.4.2/lib/GLUT-2.1.2.1/doc/html/GLUT.haddock doesn't exist or isn't a file
Something seems to have trampled on your haddocks, or they weren't properly installed from the beginning. That may indicate an actual problem, but you can probably ignore it if you don't want local documentation.