I'm trying to document some very scary type-class constraints and explaining why they're required, but I can't seem to get the following working in Haddock:
{-|
This will show-up at the top of the module
-}
module Try where
-- | This shows up immediately after the class "header"
class (
-- | PROBLEM: This doesn't work...
Show a -- ^ PROBLEM: Also, this doesn't work
) => Something a where
-- | This shows up as the method's documentation
something :: a -> Int