[Haskell-cafe] Haddock, wrapping contexts?

Geraldus heraldhoi at gmail.com
Fri Oct 28 08:53:53 UTC 2016


I see `leftJoin` signature wrapped, but not `leftJoinExplicit` for
example.  I suppose if you will document arguments Haddock will wrap that
signatures too.

[image: Снимок экрана 2016-10-28 в 13.53.25.png]


пт, 28 окт. 2016 г. в 13:39, 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/88014a63/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Снимок экрана 2016-10-28 в 13.53.25.png
Type: image/png
Size: 250165 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20161028/88014a63/attachment-0001.png>


More information about the Haskell-Cafe mailing list