diff options
author | Kierán Meinhardt <kieran.meinhardt@gmail.com> | 2020-09-23 17:44:40 +0200 |
---|---|---|
committer | Kierán Meinhardt <kieran.meinhardt@gmail.com> | 2020-09-23 17:44:40 +0200 |
commit | 8e92e6e11d2b3b0bfb5ac9d68f347219493e6380 (patch) | |
tree | 6484ca42d85ca89475e922f7b45039c116ebbf97 /config | |
parent | 6a6ad3aecd53ffd89101a0dee2b4ea576d4964d4 (diff) |
split into library + executables
Diffstat (limited to 'config')
-rw-r--r-- | config/kmein.hs | 10 | ||||
-rw-r--r-- | config/tv.hs | 16 |
2 files changed, 13 insertions, 13 deletions
diff --git a/config/kmein.hs b/config/kmein.hs index 0ffdba1..1483df2 100644 --- a/config/kmein.hs +++ b/config/kmein.hs @@ -3,9 +3,11 @@ module Main (main) where -import Action -import Core -import State +import Much.Action +import Much.Core +import Much.State +import Much.TreeView +import qualified Notmuch.Message as Notmuch import Blessings.String import Control.Monad @@ -14,10 +16,8 @@ import Scanner import System.Posix.Signals import Text.Hyphenation import Text.LineBreak -import TreeView import qualified Data.Tree as Tree import qualified Data.Tree.Zipper as Z -import qualified Notmuch.Message as Notmuch {- notmuch's special tags are: diff --git a/config/tv.hs b/config/tv.hs index b2ff124..a00756d 100644 --- a/config/tv.hs +++ b/config/tv.hs @@ -4,7 +4,7 @@ module Main (main) where -import Action +import Much.Action import Blessings.String import Control.Concurrent import Control.DeepSeq (rnf) @@ -12,28 +12,28 @@ import Control.Exception import Control.Monad import Control.Monad.Trans.Class (lift) import Control.Monad.Trans.Except -import Core +import Much.Core import Data.Aeson (eitherDecode') import Data.CaseInsensitive (CI) import Data.Foldable (foldrM) import Data.List (intercalate) import Data.Maybe import Data.Time -import ParseMail (readMail) +import Much.ParseMail (readMail) import Safe import Scanner -import State +import Much.State import System.Directory import System.Environment import System.Exit import System.IO import System.Process -import TagUtils +import Much.TagUtils import Text.Hyphenation import Text.LineBreak -import TreeSearch -import TreeView -import Utils +import Much.TreeSearch +import Much.TreeView +import Much.Utils import qualified Data.ByteString as BS import qualified Data.ByteString.Lazy.Char8 as LBS8 import qualified Data.CaseInsensitive as CI |