Skip to content

Commit

Permalink
Make cabal haddock parse correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanGlScott committed Dec 14, 2015
1 parent da5bc6e commit fe58d7c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Debug/Hood/Observe.hs
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,7 @@ instance Observable Dynamic where { observer = observeOpaque "<Dynamic>" }
-}

-- | The 'Observable' class defines how data types are observed.
-- For 'Generic' data types, this can be derived on GHC 7.2 or later.
-- For example:
-- For 'Generic' data types, this can be derived. For example:
--
-- @
-- data MyType = MyConstr Int String deriving 'Generic'
Expand Down Expand Up @@ -327,8 +326,8 @@ instance (GObservable a, Selector s) => GObservable (M1 S s a) where
gdmobserver m@(M1 x) cxt
= M1 (gdmobserver x cxt)
-- Uncomment next two lines to record selector names
-- | selName m == "" = M1 (gdmobserver x cxt)
-- | otherwise = M1 (send (selName m ++ " =") (gdmObserveChildren x) cxt)
-- selName m == "" = M1 (gdmobserver x cxt)
-- otherwise = M1 (send (selName m ++ " =") (gdmObserveChildren x) cxt)
gdmObserveChildren = gthunk
gdmShallowShow = error "gdmShallowShow not defined on <<Meta: selectors>>"

Expand Down

0 comments on commit fe58d7c

Please sign in to comment.