haddock icon indicating copy to clipboard operation
haddock copied to clipboard

Same line Haddock documentation

Open liamzee opened this issue 2 years ago • 0 comments

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?

liamzee avatar Jul 08 '23 11:07 liamzee