This repository was archived by the owner on Aug 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +27
-11
lines changed
haddock-api/src/Haddock/Backends Expand file tree Collapse file tree 4 files changed +27
-11
lines changed Original file line number Diff line number Diff line change @@ -758,9 +758,9 @@ ppSideBySideConstr subdocs unicode leader (L _ con) =
758
758
decl = case con of
759
759
ConDeclH98 { con_args = det
760
760
, con_ex_tvs = tyVars
761
+ , con_forall = L _ forall_
761
762
, con_mb_cxt = cxt
762
763
} -> let context = unLoc (fromMaybe (noLoc [] ) cxt)
763
- forall_ = False
764
764
header_ = ppConstrHdr forall_ tyVars context unicode
765
765
in case det of
766
766
-- Prefix constructor, e.g. 'Just a'
Original file line number Diff line number Diff line change @@ -800,9 +800,9 @@ ppShortConstrParts summary dataInst con unicode qual
800
800
= case con of
801
801
ConDeclH98 { con_args = det
802
802
, con_ex_tvs = tyVars
803
+ , con_forall = L _ forall_
803
804
, con_mb_cxt = cxt
804
805
} -> let context = unLoc (fromMaybe (noLoc [] ) cxt)
805
- forall_ = False
806
806
header_ = ppConstrHdr forall_ tyVars context unicode qual
807
807
in case det of
808
808
@@ -873,9 +873,9 @@ ppSideBySideConstr subdocs fixities unicode pkg qual (L _ con)
873
873
decl = case con of
874
874
ConDeclH98 { con_args = det
875
875
, con_ex_tvs = tyVars
876
+ , con_forall = L _ forall_
876
877
, con_mb_cxt = cxt
877
878
} -> let context = unLoc (fromMaybe (noLoc [] ) cxt)
878
- forall_ = False
879
879
header_ = ppConstrHdr forall_ tyVars context unicode qual
880
880
in case det of
881
881
-- Prefix constructor, e.g. 'Just a'
Original file line number Diff line number Diff line change 104
104
> data</ span
105
105
> < a href ="# "
106
106
> BlubType</ a
107
- > = < a href ="# " title ="Text.Show "
107
+ > = < span class ="keyword "
108
+ > forall</ span
109
+ > x.< a href ="# " title ="Text.Show "
108
110
> Show</ a
109
111
> x => < a href ="# "
110
112
> BlubCtor</ a
274
276
> < table
275
277
> < tr
276
278
> < td class ="src "
277
- > < a href ="# " title ="Text.Show "
279
+ > < span class ="keyword "
280
+ > forall</ span
281
+ > x.< a href ="# " title ="Text.Show "
278
282
> Show</ a
279
283
> x => < a id ="v:BlubCtor " class ="def "
280
284
> BlubCtor</ a
Original file line number Diff line number Diff line change 579
579
> Ex</ a
580
580
> a< ul class ="subs "
581
581
> < li
582
- > = < a href ="# " title ="Test "
582
+ > = < span class ="keyword "
583
+ > forall</ span
584
+ > b.< a href ="# " title ="Test "
583
585
> C</ a
584
586
> b => < a href ="# "
585
587
> Ex1</ a
586
588
> b</ li
587
589
> < li
588
- > | < a href ="# "
590
+ > | < span class ="keyword "
591
+ > forall</ span
592
+ > b. < a href ="# "
589
593
> Ex2</ a
590
594
> b</ li
591
595
> < li
592
- > | < a href ="# " title ="Test "
596
+ > | < span class ="keyword "
597
+ > forall</ span
598
+ > b.< a href ="# " title ="Test "
593
599
> C</ a
594
600
> a => < a href ="# "
595
601
> Ex3</ a
2069
2075
> < table
2070
2076
> < tr
2071
2077
> < td class ="src "
2072
- > < a href ="# " title ="Test "
2078
+ > < span class ="keyword "
2079
+ > forall</ span
2080
+ > b.< a href ="# " title ="Test "
2073
2081
> C</ a
2074
2082
> b => < a id ="v:Ex1 " class ="def "
2075
2083
> Ex1</ a
2079
2087
> </ tr
2080
2088
> < tr
2081
2089
> < td class ="src "
2082
- > < a id ="v:Ex2 " class ="def "
2090
+ > < span class ="keyword "
2091
+ > forall</ span
2092
+ > b. < a id ="v:Ex2 " class ="def "
2083
2093
> Ex2</ a
2084
2094
> b</ td
2085
2095
> < td class ="doc empty "
2086
2096
> </ td
2087
2097
> </ tr
2088
2098
> < tr
2089
2099
> < td class ="src "
2090
- > < a href ="# " title ="Test "
2100
+ > < span class ="keyword "
2101
+ > forall</ span
2102
+ > b.< a href ="# " title ="Test "
2091
2103
> C</ a
2092
2104
> a => < a id ="v:Ex3 " class ="def "
2093
2105
> Ex3</ a
You can’t perform that action at this time.
0 commit comments