Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit 8a93973

Browse files
harpocratesalanz
authored andcommitted
Remove Documentation.Haddock.Utf8
The circumstances under which this module appeared are completely gone. The Hyperlinker backend no longer needs this module (it uses the more efficient `Encoding` module from `ghc`). Why no deprecation? Because this module really shouldn't exist! - It isn't used in `haddock-library`/`haddock-api` anymore - It was copy pasted directly from `utf8-string` - Folks seeking a boot-lib only solution can use `ghc`'s `Encoding`
1 parent aa8c9a8 commit 8a93973

File tree

6 files changed

+7
-96
lines changed

6 files changed

+7
-96
lines changed

haddock-api/haddock-api.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ library
4646
, Cabal ^>= 2.3.0
4747
, ghc ^>= 8.7
4848
, ghc-paths ^>= 0.1.0.9
49-
, haddock-library ^>= 1.7.0
49+
, haddock-library ^>= 1.8.0
5050
, xhtml ^>= 3000.2.2
5151

5252
-- Versions for the dependencies below are transitively pinned by
@@ -170,7 +170,7 @@ test-suite spec
170170
build-depends: Cabal ^>= 2.3
171171
, ghc ^>= 8.7
172172
, ghc-paths ^>= 0.1.0.9
173-
, haddock-library ^>= 1.7.0
173+
, haddock-library ^>= 1.8.0
174174
, xhtml ^>= 3000.2.2
175175
, hspec >= 2.4.4 && < 2.6
176176
, QuickCheck ^>= 2.11

haddock-library/CHANGES.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
## TBA
1+
## Changes in version 1.8.0
22

33
* Support inline markup in markdown-style links (#875)
44

5+
* Remove now unused `Documentation.Haddock.Utf8` module.
6+
This module was anyways copied from the `utf8-string` package.
7+
58
## Changes in version 1.7.0
69

710
* Make `Documentation.Haddock.Parser.Monad` an internal module

haddock-library/haddock-library.cabal

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: haddock-library
3-
version: 1.7.0
3+
version: 1.8.0
44
synopsis: Library exposing some functionality of Haddock.
55

66
description: Haddock is a documentation-generation tool for Haskell
@@ -45,7 +45,6 @@ library
4545
Documentation.Haddock.Markup
4646
Documentation.Haddock.Parser
4747
Documentation.Haddock.Types
48-
Documentation.Haddock.Utf8
4948

5049
other-modules:
5150
Documentation.Haddock.Parser.Util
@@ -71,8 +70,6 @@ test-suite spec
7170
Documentation.Haddock.Parser.UtilSpec
7271
Documentation.Haddock.ParserSpec
7372
Documentation.Haddock.Types
74-
Documentation.Haddock.Utf8
75-
Documentation.Haddock.Utf8Spec
7673

7774
build-depends:
7875
, base-compat ^>= 0.9.3 || ^>= 0.10.0

haddock-library/src/Documentation/Haddock/Utf8.hs

Lines changed: 0 additions & 74 deletions
This file was deleted.

haddock-library/test/Documentation/Haddock/Utf8Spec.hs

Lines changed: 0 additions & 14 deletions
This file was deleted.

haddock.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ executable haddock
9191
Documentation.Haddock.Parser.Monad
9292
Documentation.Haddock.Types
9393
Documentation.Haddock.Doc
94-
Documentation.Haddock.Utf8
9594
Documentation.Haddock.Parser.Util
9695
Documentation.Haddock.Markup
9796

0 commit comments

Comments
 (0)