Skip to content

Commit ee6f155

Browse files
authored
Merge pull request #441 from chreekat/undo-mtl-hack
Undo mtl hack
2 parents 8149c93 + b8b20d5 commit ee6f155

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Action/Generate.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,6 @@ actionGenerate g@Generate{..} = withTiming (if debug then Just $ replaceExtensio
249249
cbl <- evaluate $ Map.map (\p -> p{packageDepends=[]}) cbl -- clear the memory, since the information is no longer used
250250
evaluate popularity
251251

252-
-- mtl is more popular than transformers, despite having dodgy docs, which is a shame, so we hack it
253-
popularity <- evaluate $ Map.adjust (max $ 1 + Map.findWithDefault 0 (strPack "mtl") popularity) (strPack "transformers") popularity
254-
255252
want <- pure $ if include /= [] then Set.fromList $ map strPack include else want
256253
want <- pure $ case count of Nothing -> want; Just count -> Set.fromList $ take count $ Set.toList want
257254

0 commit comments

Comments
 (0)