[Haskell-cafe] improved jhc manual

John Meacham john at repetae.net
Fri Jun 13 05:33:54 UTC 2014


On Wed, Jun 4, 2014 at 8:23 AM, Mateusz Kowalczyk
<fuuzetsu at fuuzetsu.co.uk> wrote:
> You're correct that there's no such feature at the moment. If you want
> something, please open an issue on [1]. Note that I have never used JHC
> or looked into how it works so I will need very careful description of
> what I need to do to replicate it all, including small test case, any
> flags that need to be passed in for Haddock to work with JHC, expected
> behaviour, a small case where there are no recursive modules so I can
> confirm it works in simple case &c. If it turns out to not be too
> complicated then you could have it in the next non-minor release (2.15.x).

What would be easiest is to just bypass much of Haddocks middle end,
as in, I don't want it to attempt to follow dependencies or figure out
types or call ghc by itself at all. rather  I want to give it a
pre-digested pap of resolved names and types (and whatever else it
needs) but let haddock still parse the file and generate the
documention with its back end. This would be more generally useful as
a haddock feature than trying to have it emulate  other compilers as
any compiler or tool can output this general metainfo format.

   John

-- 
John Meacham - http://notanumber.net/


More information about the Haskell-Cafe mailing list