@@ -423,13 +423,7 @@ library
423 doclayout >= 0.1 && < 0.2,
423 doclayout >= 0.1 && < 0.2,
424 ipynb >= 0.1 && < 0.2,
424 ipynb >= 0.1 && < 0.2,
425 attoparsec >= 0.12 && < 0.14
425 attoparsec >= 0.12 && < 0.14
427− build-depends: semigroups == 0.18.*,
428− -- basement 0.0.8 and foundation 0.0.21, transitive
429− -- dependencies, drop support for ghc 7.10.
432− if impl(ghc >= 8.0) && os(windows) && arch(i386)
426+ if os(windows) && arch(i386)
433 build-depends: basement >= 0.0.10,
427 build-depends: basement >= 0.0.10,
434 foundation >= 0.0.23
428 foundation >= 0.0.23
435 -- basement 0.0.9 won't build on 32-bit windows.
429 -- basement 0.0.9 won't build on 32-bit windows.
@@ -450,14 +444,17 @@ library
450 if os(windows)
444 if os(windows)
451 cpp-options: -D_WINDOWS
445 cpp-options: -D_WINDOWS
452 ghc-options: -Wall -fno-warn-unused-do-bind
446 ghc-options: -Wall -fno-warn-unused-do-bind
454− ghc-options: -Wincomplete-record-updates
447+ -Wincomplete-record-updates
455− -Wnoncanonical-monad-instances
448+ -Wnoncanonical-monad-instances
456− -Wnoncanonical-monadfail-instances
449+ -Wnoncanonical-monadfail-instances
457− if impl(ghc > 8.4)
450+ if impl(ghc >= 8.2)
451+ ghc-options: -Wcpp-undef
458 ghc-options: -Wincomplete-uni-patterns
453 ghc-options: -Wincomplete-uni-patterns
459 -Widentities
454 -Widentities
460 -Werror=missing-home-modules
455 -Werror=missing-home-modules
461 default-language: Haskell2010
458 default-language: Haskell2010
462 other-extensions: NoImplicitPrelude
459 other-extensions: NoImplicitPrelude
463 hs-source-dirs: src
460 hs-source-dirs: src
@@ -621,8 +618,6 @@ library
622executable pandoc
619executable pandoc
623 build-depends: pandoc, base >= 4.8 && < 5
620 build-depends: pandoc, base >= 4.8 && < 5
625− build-depends: semigroups == 0.18.*
626 if impl(ghc < 8.4)
621 if impl(ghc < 8.4)
627 hs-source-dirs: prelude
622 hs-source-dirs: prelude
628 other-modules: Prelude
623 other-modules: Prelude
@@ -648,8 +643,6 @@ executable trypandoc
648 buildable: True
643 buildable: True
650 buildable: False
645 buildable: False
652− build-depends: semigroups == 0.18.*
653 if impl(ghc < 8.4)
646 if impl(ghc < 8.4)
654 hs-source-dirs: prelude
647 hs-source-dirs: prelude
655 other-modules: Prelude
648 other-modules: Prelude
@@ -664,8 +657,6 @@ benchmark weigh-pandoc
665 weigh >= 0.0 && < 0.1,
658 weigh >= 0.0 && < 0.1,
666 mtl >= 2.2 && < 2.3
659 mtl >= 2.2 && < 2.3
668− build-depends: semigroups == 0.18.*
669 if impl(ghc < 8.4)
660 if impl(ghc < 8.4)
670 hs-source-dirs: prelude
661 hs-source-dirs: prelude
671 other-modules: Prelude
662 other-modules: Prelude
@@ -703,8 +694,6 @@ test-suite test-pandoc
703 zip-archive >= 0.2.3.4 && < 0.5,
694 zip-archive >= 0.2.3.4 && < 0.5,
704 xml >= 1.3.12 && < 1.4,
695 xml >= 1.3.12 && < 1.4,
705 Glob >= 0.7 && < 0.11
696 Glob >= 0.7 && < 0.11
707− build-depends: semigroups == 0.18.*
708 if impl(ghc < 8.4)
697 if impl(ghc < 8.4)
709 hs-source-dirs: prelude
698 hs-source-dirs: prelude
710 other-modules: Prelude
699 other-modules: Prelude
@@ -776,8 +765,6 @@ benchmark benchmark-pandoc
776 text >= 1.1.1.0 && < 1.3,
765 text >= 1.1.1.0 && < 1.3,
777 mtl >= 2.2 && < 2.3,
766 mtl >= 2.2 && < 2.3,
778 criterion >= 1.0 && < 1.6
767 criterion >= 1.0 && < 1.6
780− build-depends: semigroups == 0.18.*
781 if impl(ghc < 8.4)
768 if impl(ghc < 8.4)
782 hs-source-dirs: prelude
769 hs-source-dirs: prelude
783 other-modules: Prelude
770 other-modules: Prelude