[Haskell-cafe] Haddock, wrapping contexts?

Simon Jakobi simon.jakobi at googlemail.com
Fri Oct 28 17:41:17 UTC 2016


I have opened an issue with the same request a while ago:
https://github.com/haskell/haddock/issues/472

2016-10-28 10:38 GMT+02:00 Tom Ellis <
tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk>:

> Some of my type signatures have long contexts and Haddock doesn't wrap
> them,
> pushing the more interesting information off the right hand side, e.g.:
>
>     https://hackage.haskell.org/package/opaleye-0.5.1.1/docs/
> Opaleye-Join.html
>
> Is there any way I can convince Haddock to wrap these contexts?  Ideally I
> want to see something like
>
>     leftJoin
>         :: (Default Unpackspec columnsA columnsA,
>             Default Unpackspec columnsB columnsB,
>             Default NullMaker columnsB nullableColumnsB)
>         => Query columnsA
>         -> Query columnsB
>         -> ((columnsA, columnsB) -> Column PGBool)
>         -> Query (columnsA, nullableColumnsB)
>
> Thanks,
>
> Tom
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20161028/011f7508/attachment.html>


More information about the Haskell-Cafe mailing list