[Haskell-cafe] Haddock, wrapping contexts?
Tom Ellis
tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Fri Oct 28 21:55:42 UTC 2016
Thanks! That's really helpful.
On Fri, Oct 28, 2016 at 07:41:17PM +0200, Simon Jakobi via Haskell-Cafe wrote:
> 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
More information about the Haskell-Cafe
mailing list