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

Commit 6b2b510

Browse files
committed
Documentation changes from ghc-internal restructuring
Previously many declarations (e.g. `Int`) were declared to have a "home" in `Prelude`. However, now Haddock instead chooses to put these in more specific homes (e.g. `Data.Int`). Given that the "home" decision is driven by heuristics and in general these changes seem quite reasonable I am accepting them: * `Int` moved from `Prelude` to `Data.Int` * `(~)` moved from `Prelude` to `Data.Type.Equality` * `Type` moved from `GHC.Types` to `Data.Kind` * `Maybe` moved from `Prelude` to `Data.Maybe` * `Bool` moved from `Prelude` to `Data.Bool` * `Ordering` moved from `Prelude` to `Data.Ord` As well, more identifiers are now hyperlinked; it's not immediately clear *why*, but it is an improvement nevertheless.
1 parent 46a4365 commit 6b2b510

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+1859
-1277
lines changed

html-test/ref/A.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@
6464
><li class="src short"
6565
><a href="#"
6666
>other</a
67-
> :: <a href="#" title="Prelude"
67+
> :: <a href="#" title="Data.Int"
6868
>Int</a
6969
></li
7070
><li class="src short"
7171
><a href="#"
7272
>test2</a
73-
> :: <a href="#" title="Prelude"
73+
> :: <a href="#" title="Data.Bool"
7474
>Bool</a
7575
></li
7676
><li class="src short"
@@ -84,7 +84,7 @@
8484
><li class="src short"
8585
><a href="#"
8686
>reExport</a
87-
> :: <a href="#" title="Prelude"
87+
> :: <a href="#" title="Data.Int"
8888
>Int</a
8989
></li
9090
></ul
@@ -121,7 +121,7 @@
121121
><p class="src"
122122
><a id="v:other" class="def"
123123
>other</a
124-
> :: <a href="#" title="Prelude"
124+
> :: <a href="#" title="Data.Int"
125125
>Int</a
126126
> <a href="#" class="selflink"
127127
>#</a
@@ -131,7 +131,7 @@
131131
><p class="src"
132132
><a id="v:test2" class="def"
133133
>test2</a
134-
> :: <a href="#" title="Prelude"
134+
> :: <a href="#" title="Data.Bool"
135135
>Bool</a
136136
> <a href="#" class="selflink"
137137
>#</a
@@ -175,7 +175,7 @@
175175
><p class="src"
176176
><a id="v:reExport" class="def"
177177
>reExport</a
178-
> :: <a href="#" title="Prelude"
178+
> :: <a href="#" title="Data.Int"
179179
>Int</a
180180
> <a href="#" class="selflink"
181181
>#</a

0 commit comments

Comments
 (0)