summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Main.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 9725d7a..96b34bd 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -174,9 +174,13 @@ data Command
| DeleteEntireLine
| Yank Motion
+
+instance Semigroup Command where
+ (<>) = Combine
+
+
instance Monoid Command where
mempty = Nop
- mappend = Combine