diff options
| author | Mirek Kratochvil <miroslav.kratochvil@uni.lu> | 2023-10-16 19:08:27 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <miroslav.kratochvil@uni.lu> | 2023-10-16 19:08:27 +0200 |
| commit | e2cec0c7a7d56058773f3534c202e1b85f57baff (patch) | |
| tree | cfffdeb0b8214c455f5e84919dcc621460408d67 /Utils.hs | |
| parent | 56dcda56193d0148af8868d81247010c0d0b8db3 (diff) | |
| download | reploy-e2cec0c7a7d56058773f3534c202e1b85f57baff.tar.gz reploy-e2cec0c7a7d56058773f3534c202e1b85f57baff.tar.bz2 | |
reformat using new hindent (cuteness +63)
Diffstat (limited to 'Utils.hs')
| -rw-r--r-- | Utils.hs | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -75,8 +75,12 @@ addHeadingLinks cls = Text.Pandoc.Walk.walk go Header lvl attr - (inlines ++ - [Link ("", [cls], []) [Str "#"] ("#" <> id, "Link to this section")]) + (inlines + ++ [ Link + ("", [cls], []) + [Str "#"] + ("#" <> id, "Link to this section") + ]) go x = x -- | @"https://example.com" `hasUriScheme` "https"@ @@ -132,8 +136,8 @@ sourcePaths fp process = do | null ds = False | last ds `elem` notSource = True | otherwise = False - io (getRecursiveContents (pure . ignoreDir . splitDirectories) fp) >>= - foldMapM process + io (getRecursiveContents (pure . ignoreDir . splitDirectories) fp) + >>= foldMapM process -- | Given a path to a file, try to make the path writable by making all -- directories on the path. (Interned from Hakyll.) |
