Monoid a => Monoid (T a) # | mempty = 'T mempty'
Docs for the Monoid instance of Monoid a => T a ExamplesExpand>>> mempty :: T String
T ""
|
Instance detailsDefined in Bug1206 |
Semigroup (T Int) # | <> = 'T (a + b)'
Docs for the Semigroup instance of (T Int) ExamplesExpand>>> T 2 <> T (3 :: Int)
T 5
|
Instance detailsDefined in Bug1206 |
Semigroup a => Semigroup (T a) # | <> = 'T (a <> b)'
Docs for the Semigroup instance of Semigroup a => T a ExamplesExpand>>> T (Product 1) <> T (Product 2)
T (Product {getProduct = 2})
|
Instance detailsDefined in Bug1206 |
Show a => Show (T a) # | |
Instance detailsDefined in Bug1206 |