@@ -86,11 +86,11 @@ historyCtx = mkStrContext outerCtx
86
86
ctx " hpReleases" = mapListStrContext rlsCtx releasesNewToOld
87
87
ctx " ncols" = MuVariable $ length releasesNewToOld + 1
88
88
ctx " sections" = MuList
89
- [ sectionCtx " Compiler" [isGhc, not . isLib]
90
- , sectionCtx " Core Libraries, provided with GHC" [isGhc, isLib]
91
- , sectionCtx " Additional Platform Libraries" [not . isGhc, isLib]
92
- , sectionCtx " Programs and Tools" [isTool]
93
- , extendedCtx " Full Platform Only "
89
+ [ sectionCtx " Compiler" [isGhc, not . isLib]
90
+ , sectionCtx " Core Libraries, provided with GHC" [isGhc, isLib]
91
+ , sectionCtx " Additional Minimal Platform Libraries" [not . isGhc, isLib]
92
+ , sectionCtx " Programs and Tools" [isTool]
93
+ , extendedCtx " Libraries with Full Platform"
94
94
]
95
95
ctx _ = MuNothing
96
96
@@ -113,7 +113,7 @@ sectionCtx name tests = mkStrContext ctx
113
113
pCtx pName " package" = MuVariable pName
114
114
pCtx pName " hackageUrl" =
115
115
MuVariable $ " http://hackage.haskell.org/package/" ++ pName
116
- pCtx pName " releases" = mapListStrContext pvCtx $ packageVersionInfo pName
116
+ pCtx pName " releases" = mapListStrContext pvCtx $ packageVersionInfo False pName
117
117
pCtx _ _ = MuNothing
118
118
119
119
pvCtx (c, _) " class" = MuVariable c
@@ -157,7 +157,7 @@ packageVersionInfo pName = curr $ zipWith comp vers (drop 1 vers ++ [Nothing])
157
157
curr ((c, v) : cvs) = (c ++ " current" , v) : cvs
158
158
curr [] = []
159
159
160
- vers = map (fmap pkgVersion . find ((== pName) . pkgName) . map snd . allRelIncludes)
160
+ vers = map (fmap pkgVersion . find ((== pName) . pkgName) . map snd . ( if searchFull then allRelIncludes else relMinimalIncludes) )
161
161
releasesNewToOld
162
162
163
163
releasesNewToOld :: [Release ]
0 commit comments