You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then thediv ! [theclass "notification"] << [toHtml $"These statistics only apply to this version of "++ display pkgname ++". See also ", anchor ! [href $ reverseNameUri reverseResource "" pkgname] << [toHtml "packages which depend on ", emphasize <<"any", toHtml " version"], toHtml $" (all "++show total ++" of them)."]
53
-
else noHtml
54
-
allCounts =uncurry(+) counts
55
-
otherCount =case total - allCounts of
56
-
diff | diff >0-> paragraph << [show diff ++" packages depend on versions of "++ display (packageName pkgid) ++" other than "++if hasVersion then display (packageVersion pkgid) else"the latest"++"."]
[ toHtml $ num count "packages depend on ""package depends on "
82
-
, pkgLink
83
-
, toHtml $ textFunc count
84
-
]
85
-
altVersions count textFunc altLink = toHtml
86
-
[ anchor ! [href altLink] << num count "packages""package"
87
-
, toHtml $ num' count " depend on "" depends on "++ display pkgid ++ textFunc count
88
-
]
89
-
recentText count ='':num' count "in their latest versions""in its latest version"
90
-
nonRecentText count ='':num' count "only in older or deprecated versions""only in an older or deprecated version"
91
-
oldText ="The latest version of each package below, which doesn't depend on "++ display pkgid ++", is linked from the first column. The version linked from the second column is the one which has a dependency on "++ display pkgid ++", but it's no longer the preferred installation candidate. Note that packages which depend on versions of "++ display pkgid ++" not uploaded to Hackage are treated as not depending on it at all."
, toHtml $" which directly "++ num' directCount "depend""depends"++" on it, but there are more packages which depend on "
122
-
, emphasize <<"those"
123
-
, toHtml $" packages. If you flatten the tree of reverse dependencies, you'll find "
124
-
++show totalCount ++" packages which use "++ display pkgname ++", and "
125
-
++show (totalCount-directCount) ++" which do so without depending directly on it. All of these packages are listed below."
126
-
]
127
-
, paragraph << [toHtml "See also the ", anchor ! [href $ reverseVerboseUri reverseResource "" pkgname] <<"exhaustive listings for all versions", toHtml $" of "++ display pkgname ++"."]
0 commit comments