From 922481cfd39543128396dca05c7a83588bcd332e Mon Sep 17 00:00:00 2001 From: pacien Date: Thu, 1 Dec 2022 20:00:12 +0100 Subject: compiler: fix build for ghc 9.2 --- compiler/src/Input.hs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'compiler/src/Input.hs') diff --git a/compiler/src/Input.hs b/compiler/src/Input.hs index 4cfabe6..7990571 100644 --- a/compiler/src/Input.hs +++ b/compiler/src/Input.hs @@ -1,7 +1,7 @@ -- ldgallery - A static generator which turns a collection of tagged -- pictures into a searchable web gallery. -- --- Copyright (C) 2019-2021 Pacien TRAN-GIRARD +-- Copyright (C) 2019-2022 Pacien TRAN-GIRARD -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU Affero General Public License as @@ -153,6 +153,4 @@ filterInputTree cond = filterNode filterNode :: InputTree -> InputTree filterNode inputFile@InputFile{} = inputFile filterNode inputDir@InputDir{items} = - filter cond items - & map filterNode - & \curatedItems -> inputDir { items = curatedItems } :: InputTree + inputDir { Input.items = filter cond items & map filterNode } -- cgit v1.2.3