@@ -424,11 +424,8 @@ library
424424 if os(windows)
425425 cpp-options: -D_WINDOWS
426426 ghc-options: -Wall -fno-warn-unused-do-bind
427− default-language: Haskell98
428− other-extensions: PatternGuards, OverloadedStrings,
429− ScopedTypeVariables, GeneralizedNewtypeDeriving,
430− RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
431− FlexibleInstances
427+ default-language: Haskell2010
428+ other-extensions: NoImplicitPrelude
432429 hs-source-dirs: src
433430
434431 exposed-modules: Text.Pandoc,
@@ -575,11 +572,8 @@ executable pandoc
575572 ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -threaded
576573 if flag(static)
577574 ld-options: -static
578− default-language: Haskell98
579− other-extensions: PatternGuards, OverloadedStrings,
580− ScopedTypeVariables, GeneralizedNewtypeDeriving,
581− RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
582− FlexibleInstances
575+ default-language: Haskell2010
576+ other-extensions: NoImplicitPrelude
583577 hs-source-dirs: .
584578 main-is: pandoc.hs
585579 buildable: True
@@ -589,6 +583,7 @@ executable trypandoc
589583 main-is: trypandoc.hs
590584 hs-source-dirs: trypandoc
591585 default-language: Haskell2010
586+ other-extensions: NoImplicitPrelude
592587 if flag(trypandoc)
593588 build-depends: base, aeson, pandoc,
594589 text, wai-extra, wai >= 0.3, http-types
@@ -621,7 +616,8 @@ executable weigh-pandoc
621616 other-modules: Prelude
622617 build-depends: base-compat >= 0.9
623618 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
624− default-language: Haskell98
619+ default-language: Haskell2010
620+ other-extensions: NoImplicitPrelude
625621
626622test-suite test-pandoc
627623 type: exitcode-stdio-1.0
@@ -709,7 +705,8 @@ test-suite test-pandoc
709705 Tests.Writers.Powerpoint
710706 Tests.Writers.OOXML
711707 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
712− default-language: Haskell98
708+ default-language: Haskell2010
709+ other-extensions: NoImplicitPrelude
713710
714711benchmark benchmark-pandoc
715712 type: exitcode-stdio-1.0
@@ -727,4 +724,5 @@ benchmark benchmark-pandoc
727724 other-modules: Prelude
728725 build-depends: base-compat >= 0.9
729726 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
730− default-language: Haskell98
727+ default-language: Haskell2010
728+ other-extensions: NoImplicitPrelude