[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.:


Is there any way I can convince Haddock to wrap these contexts?  Ideally I
want to see something like

        :: (Default Unpackspec columnsA columnsA,
            Default Unpackspec columnsB columnsB,
            Default NullMaker columnsB nullableColumnsB)	 
        => Query columnsA	
        -> Query columnsB	
        -> ((columnsA, columnsB) -> Column PGBool)	
        -> Query (columnsA, nullableColumnsB)



More information about the Haskell-Cafe mailing list