Skip to content

Commit

Permalink
s/fmap/map/
Browse files Browse the repository at this point in the history
  • Loading branch information
23Skidoo committed Jan 15, 2019
1 parent 7b1980e commit 1dc329a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabal-install/Distribution/Client/Init.hs
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ hasMainHs flags = case mainIs flags of

-- | Default Main.(l)hs file. Used when no Main.(l)hs exists.
mainHs :: InitFlags -> String
mainHs flags = (unlines . fmap prependPrefix)
mainHs flags = (unlines . map prependPrefix)
[ "module Main where"
, ""
, "main :: IO ()"
Expand Down

0 comments on commit 1dc329a

Please sign in to comment.