Skip to content

Commit

Permalink
Fix broken Haddock links
Browse files Browse the repository at this point in the history
  • Loading branch information
pgujjula authored and RyanGlScott committed May 20, 2024
1 parent 959d555 commit f9d97bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/Constraints.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Data.Reflection -- from reflection
import Data.Semigroup -- from semigroups
#endif

-- | Values in our dynamically constructed monoid over 'a'
-- | Values in our dynamically constructed monoid over @a@
newtype Lift (p :: * -> Constraint) (a :: *) (s :: *) = Lift { lower :: a }

class ReifiableConstraint p where
Expand Down
2 changes: 1 addition & 1 deletion examples/Monoid.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Data.Reflection -- from reflection
import Data.Semigroup -- from base
#endif

-- | Values in our dynamically-constructed 'Monoid' over 'a'
-- | Values in our dynamically-constructed 'Monoid' over @a@
newtype M a s = M { runM :: a } deriving (Eq,Ord)

-- | A dictionary describing a 'Monoid'
Expand Down
2 changes: 1 addition & 1 deletion fast/Data/Reflection.hs
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ reifyMonoid :: (a -> a -> a) -> a -> (forall (s :: *). Reifies s (ReifiedMonoid
reifyMonoid f z m xs = reify (ReifiedMonoid f z) (unreflectedMonoid (m xs))

-- | Fold a value using its 'Foldable' instance using
-- explicitly provided 'Monoid' operations. This is like 'fold'
-- explicitly provided 'Monoid' operations. This is like 'Data.Foldable.fold'
-- where the 'Monoid' instance can be manually specified.
--
-- @
Expand Down

0 comments on commit f9d97bc

Please sign in to comment.