summaryrefslogtreecommitdiffstats
path: root/src/Main.hs
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-06-09 15:18:28 +0100
committerYann Herklotz <git@yannherklotz.com>2023-06-09 15:18:28 +0100
commit284c6d3abd4cfa1e0eb91961dadffdb04fdc416a (patch)
tree9b11b2f143d70da082c0129bb5e6cba144ad8653 /src/Main.hs
parente64342adfca94870769f1e0634e343d43921ab2f (diff)
downloadzk-visual-284c6d3abd4cfa1e0eb91961dadffdb04fdc416a.tar.gz
zk-visual-284c6d3abd4cfa1e0eb91961dadffdb04fdc416a.zip
Use `.` instead of `>>` in fuction compositionmain
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 27d16a5..50903d4 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -358,12 +358,13 @@ main = withStderrLogging $ do
graph <- parseZettelKasten (zip [1 ..] fl) (optOrgBibliography zkOpts)
- let pipeline = transcludeMdAll >> linkAll >> wrapZettelGraph >> handleBibliography
+ let pipeline = handleBibliography . wrapZettelGraph . linkAll . transcludeMdAll
when (isNothing (optCsl zkOpts)) . warn $ "CSL file not set, using: ieee.csl"
when (isNothing (optBibliography zkOpts)) . warn $ "Bibliography file not set, using: references.bib"
renderZettelGraphFile
+ (optVerbose zkOpts > 2)
( fromMaybe
"ieee.csl"
(optCsl zkOpts)