Changes between Version 5 and Version 6 of Libraries/Proposals/SemigroupMonoid


Ignore:
Timestamp:
Sep 16, 2017 5:23:52 PM (4 weeks ago)
Author:
Herbert Valerio Riedel
Comment:

tweak example

Legend:

Unmodified
Added
Removed
Modified
  • Libraries/Proposals/SemigroupMonoid

    v5 v6  
    129129appendFoo = …
    130130
    131 emptyFoo :: Foo
    132 emptyFoo = …
    133 
    134131#if MIN_VERSION_base(4,9,0)
    135132instance Sem.Semigroup Foo where
     
    138135
    139136instance Monoid Foo where
    140   mempty = emptyFoo
     137  mempty =
    141138
    142139#if MIN_VERSION_base(4,11,0)
     
    148145-- prior to GHC 8.0 / base-4.9 where no `Semigroup` class existed
    149146  mappend = appendFoo
    150 # endif
     147#endif
    151148
    152149}}}