[Haskell-cafe] ANN: HPath-0.0.0
Jason Dusek
jason.dusek at gmail.com
Wed Dec 30 02:52:19 EST 2009
HPath is a command line utility to grab the Haskell source
for a given identifier:
:; dist/build/hpath/hpath HPath.Path.parse 2>/dev/null
parse :: String -> Either ParseError Path
parse s = Text.ParserCombinators.Parsec.parse (qualified []) s s
This is an alpha release. There are many things HPath can't
retrieve -- like constructors -- and there seem to be some
complications with the underlying parser/pretty printer (some
times you get far too many newlines).
There will be another release when the newline issue is
resolved. The hope is to release HPath in conjunction with
LaTeX macros to allow easy inclusion of Haskell in elaborate
documents.
--
Jason Dusek
More information about the Haskell-Cafe
mailing list