From 284c6d3abd4cfa1e0eb91961dadffdb04fdc416a Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 9 Jun 2023 15:18:28 +0100 Subject: Use `.` instead of `>>` in fuction composition --- src/Main.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Main.hs') 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) -- cgit