diff options
author | Yann Herklotz <git@yannherklotz.com> | 2023-06-09 15:18:28 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2023-06-09 15:18:28 +0100 |
commit | 284c6d3abd4cfa1e0eb91961dadffdb04fdc416a (patch) | |
tree | 9b11b2f143d70da082c0129bb5e6cba144ad8653 /src/Main.hs | |
parent | e64342adfca94870769f1e0634e343d43921ab2f (diff) | |
download | zk-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.hs | 3 |
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) |