Commits

Stefan Saasen committed f1eeda6

Main: Eta-reduction in the printIndex function

  • Participants
  • Parent commits 0d9ecff

Comments (0)

Files changed (1)

 
 
 printIndex :: [IndexEntry] -> IO ()
-printIndex = mapM_ (\l -> putStrLn $ show l ++ "\n")
+printIndex = mapM_ (putStrLn . (++ "\n") . show)