[Haskell-cafe] Re: Allowing hyphens in identifiers

Duncan Coutts duncan.coutts at googlemail.com
Wed Dec 16 09:24:09 EST 2009


On Wed, 2009-12-16 at 14:12 +0000, Colin Paul Adams wrote:

> I don't think it's practical to edit all the .cabal packages as they
> come in to say:
> 
>     ghc-options: -F -pgmF hspp
> 
> and cabal install does not recognize this line if I add to to my
> ~/.cabal/config file.
> 
> Duncan, is there a way this can be done?

I hope not! :-)

If you want to view API docs in this alternate style then the right
place to insert your hack is in haddock. You can then build all your
packages with --haddock-options=--transform_to_underscore_style.

Duncan



More information about the Haskell-Cafe mailing list