[Haskell-cafe] Monospace code in Haddock

Niklas Hambüchen mail at nh2.me
Wed Sep 5 21:53:26 CEST 2012


OK, but how to prevent it from linking to foo if I have a function foo
in my module?

On 05/09/12 20:50, Simon Hengel wrote:
> On Wed, Sep 05, 2012 at 08:40:37PM +0100, Niklas Hambüchen wrote:
>> Is it possible to use inlined monospaced font in Haddock that does *not*
>> replace < and > to links and does *not* link to Haskell functions (like
>> @ and ' and " and ` do)?
> 
> Have you tried to escape stuff within @. e.g.:
> 
>     @\<foo\>@
> 
> I think this should work.
> 
> Cheers,
> Simon
> 



More information about the Haskell-Cafe mailing list