summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-10-06 21:41:36 +0200
committertv <tv@krebsco.de>2018-10-06 21:41:36 +0200
commit0c2a60e854f725b37ae29be435b535e542ecff2c (patch)
tree52d2b1e5d8dedd7aaf39a96adbd9d14c5740aff6
parentc80785663fa97484792440b3af3d54ae639d3c22 (diff)
Blessings: add Semigroup instancev1.2.0ni/master
-rw-r--r--src/Blessings.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Blessings.hs b/src/Blessings.hs
index 7565299..823f467 100644
--- a/src/Blessings.hs
+++ b/src/Blessings.hs
@@ -27,6 +27,10 @@ instance Functor Blessings where
Empty -> Empty
+instance Semigroup (Blessings a) where
+ (<>) = Append
+
+
instance Monoid (Blessings a) where
mappend = Append
mempty = Empty