Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Haddock #600

Merged
merged 2 commits into from
Jun 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions singletons/src/Data/Singletons.hs
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,11 @@ various drawbacks:
-- @
--
-- Here, @f@ uses methods from both 'SingI' and 'SingKind'. However, the shape
-- of each constraint is rather different: using 'sing' requires a 'SingI T'
-- constraint, whereas using 'fromSing' requires a 'SingKind K' constraint.
-- of each constraint is rather different: using 'sing' requires a @SingI T@
-- constraint, whereas using 'fromSing' requires a @SingKind K@ constraint.
--
-- If you need to satisfy this constraint with an explicit singleton, please
-- see 'withSingI' or the 'Sing' pattern synonym.
-- see 'withSingI' or the v'Sing' pattern synonym.
#if __GLASGOW_HASKELL__ >= 900
type SingI :: forall {k}. k -> Constraint
#endif
Expand Down