Max Bolingbroke <batterseapo...@hotmail.com> writes:

> On 4 August 2010 11:39, Ivan Lazar Miljenovic <ivan.miljeno...@gmail.com> 
> wrote:
>> Joachim Breitner <m...@joachim-breitner.de> writes:
>>> the problem is that Template Haskell does not work on all architectures,
>>> so the Debian people prefer solutions that avoid TH if it is not
>>> needed.
>>
>> Yeah, we've just come across this problem in Gentoo when dealing with
>> how Haddock behaves when there's TH to be documented in some
>> architectures :s
>
> I didn't know this: is there a corresponding GHC ticket? I can't find
> one, but I could just have chosen the wrong keywords. It seems like
> the right thing to do would just be to make TH work properly rather
> than maintain a special-purpose preprocessor.

Not that I know of; all I know is that Sergei (aka slyfox) disabled
building documentation (for libraries that come with GHC) on some
architectures where ghci isn't available because of this.  My
understanding is that TH uses ghci (or something like it) to evaluate
the expressions, and that when Haddock started understanding TH it also
needed to run ghci to build documentation containing TH.

-- 
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to