Closed liamzee closed 4 months ago
Perhaps this is just an issue with HLS, but right now, if I put out a type signature of, say,
foo :: a -> b
and I wish to put in -- ^ or -- | for short same-line annotation, HLS won't acknowledge that the function is type-signature commented.
I assume the same applies to Haddock proper. Shouldn't we have a feature allowing quick haddock documentation on the same line as the type signature?
Perhaps this is just an issue with HLS, but right now, if I put out a type signature of, say,
foo :: a -> b
and I wish to put in -- ^ or -- | for short same-line annotation, HLS won't acknowledge that the function is type-signature commented.
I assume the same applies to Haddock proper. Shouldn't we have a feature allowing quick haddock documentation on the same line as the type signature?