summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-02-23 20:52:42 +0100
committertv <tv@krebsco.de>2021-02-23 21:19:15 +0100
commitf18d1afe54a73b030e892a1834bcc4f947c4c2ef (patch)
tree9fdb5a2c206b0b559f9fd808aa8d7084891e7681
parent288fb195158ce35895622c90866cd4b8fa9dc6d7 (diff)
Buffer -> Hack.Buffer
-rw-r--r--src/Buffer.hs7
-rw-r--r--src/Hack/Buffer.hs7
-rw-r--r--src/Hack/Buffer/Class.hs (renamed from src/Buffer/Class.hs)2
-rw-r--r--src/Hack/Buffer/Motion.hs (renamed from src/Buffer/Motion.hs)4
-rw-r--r--src/Main.hs2
5 files changed, 11 insertions, 11 deletions
diff --git a/src/Buffer.hs b/src/Buffer.hs
deleted file mode 100644
index 43d222e..0000000
--- a/src/Buffer.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Buffer
- ( module Buffer.Class
- , module Buffer.Motion
- ) where
-
-import Buffer.Class
-import Buffer.Motion
diff --git a/src/Hack/Buffer.hs b/src/Hack/Buffer.hs
new file mode 100644
index 0000000..8e03eb7
--- /dev/null
+++ b/src/Hack/Buffer.hs
@@ -0,0 +1,7 @@
+module Hack.Buffer
+ ( module Hack.Buffer.Class
+ , module Hack.Buffer.Motion
+ ) where
+
+import Hack.Buffer.Class
+import Hack.Buffer.Motion
diff --git a/src/Buffer/Class.hs b/src/Hack/Buffer/Class.hs
index 75664a5..3644717 100644
--- a/src/Buffer/Class.hs
+++ b/src/Hack/Buffer/Class.hs
@@ -1,5 +1,5 @@
-- TODO Class is a lie
-module Buffer.Class where
+module Hack.Buffer.Class where
type Buffer = (String, String)
diff --git a/src/Buffer/Motion.hs b/src/Hack/Buffer/Motion.hs
index b07a45c..5ddddc9 100644
--- a/src/Buffer/Motion.hs
+++ b/src/Hack/Buffer/Motion.hs
@@ -1,7 +1,7 @@
-module Buffer.Motion where
+module Hack.Buffer.Motion where
import Data.List (dropWhileEnd)
-import Buffer.Class
+import Hack.Buffer.Class
-- TODO factor Count
-- TODO various Vim gX
diff --git a/src/Main.hs b/src/Main.hs
index 96b34bd..ece6266 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -25,7 +25,7 @@ import Control.Monad.Writer
import Data.Map (Map)
import qualified Data.Map as Map
-import Buffer
+import Hack.Buffer
import Process
import Scanner
import Blessings