Skip to content

Commit 32a1f2f

Browse files
committed
Fix haddock some more
1 parent 73f2ce4 commit 32a1f2f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Data/Patch/MapWithMove.hs

+5-1
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,13 @@ newtype PatchMapWithMove k (v :: Type) = PatchMapWithMove'
8484
unPatchMapWithMove' :: PatchMapWithPatchingMove k (Proxy v)
8585
}
8686
deriving ( Show, Read, Eq, Ord
87-
, -- | Compose patches having the same effect as applying the
87+
-- Haddock cannot handle documentation here before GHC 8.6
88+
,
89+
#if __GLASGOW_HASKELL__ >= 806
90+
-- | Compose patches having the same effect as applying the
8891
-- patches in turn: @'applyAlways' (p <> q) == 'applyAlways' p .
8992
-- 'applyAlways' q@
93+
#endif
9094
Semigroup
9195
, Monoid
9296
)

0 commit comments

Comments
 (0)