Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Haddock comments to class arguments #1527

Open
Lev135 opened this issue Sep 4, 2022 · 0 comments
Open

Haddock comments to class arguments #1527

Lev135 opened this issue Sep 4, 2022 · 0 comments

Comments

@Lev135
Copy link

Lev135 commented Sep 4, 2022

I would like to add a haddock comment to class arguments like this:

class C 
  (a :: Type) -- ^ comment to a
  (b :: Constraint) -- ^ comment to b
  where

or (with -XStandaloneKindSignatures)

type C
  :: Type -- ^ comment to a
  -> Constraint -- ^ comment to b
  -> Constraint
class C a b where

However, as far as I can see, it's not possible in current version

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants