🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

Commit 169e3d1d5731a81026e3e91457d6f32d5e947419
Parent: abdb0b1edc398a543a9e458c3119e8f2277611e2
Author: mcol <mcol@posteo.net>
Date: 2021-09-18 18:37:00 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2021-09-18 18:37:00 +0100

Tiny tidy

src/Repositories.hs Modified

@@ -5,6 +5,7 @@
 ) where
 
 import Control.Monad.IO.Class (liftIO)
+import Data.Foldable (foldMap)
 import Data.Tagged
 import Git
 import Git.Libgit2 (lgFactory)
@@ -17,7 +18,10 @@
 repositories, reading from them and writing out their web pages.
 -}
 run :: Config -> [Template] -> IO ()
-run config templates = mconcat . fmap processRepo . repoPaths $ config
+run config templates = foldMap processRepo . repoPaths $ config
+
+----------------------------------------------------------------------------------------
+-- Private
 
 {-
 This receives a file path to a single repository and tries to process it. If the