diff options
author | tv <tv@krebsco.de> | 2018-10-06 21:41:36 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-10-06 21:41:36 +0200 |
commit | 0c2a60e854f725b37ae29be435b535e542ecff2c (patch) | |
tree | 52d2b1e5d8dedd7aaf39a96adbd9d14c5740aff6 | |
parent | c80785663fa97484792440b3af3d54ae639d3c22 (diff) |
-rw-r--r-- | src/Blessings.hs | 4 |
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 |