on master help sign in
Remove monoid instance for Data.Bag

Not needed any more

commite84d795926d0e4c0ae5e5066ca9d4d825d364882 authorEvan Czaplicki <evancz@users.noreply.github.com> dateThu 24 May 2018, 11:06 (8 years ago) parentbb267f9
1 file changed−11
compiler/src/Data/Bag.hs−11
compiler/src/Data/Bag.hs−11
@@ -108,14 +108,3 @@ fromList func list =
108108add :: (a -> b) -> Bag b -> a -> Bag b
109109add func bag value =
110110 Two (One (func value)) bag
111−
112−
113−
114−-- MONOID
115−
116−
117−instance Monoid (Bag a) where
118− {-# INLINE mempty #-}
119− mempty = Empty
120− {-# INLINE mappend #-}
121− mappend = Two