[Haskell-cafe] Haddock, wrapping contexts?

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Fri Oct 28 08:38:57 UTC 2016


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