Skip to content
Snippets Groups Projects
Commit 2dffbbbf authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel :man_dancing:
Browse files

Use fmap instead of <$> to avoid missing import for pre-AMP `base`

(cherry picked from commit 80f3e714)
parent 48acd41b
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ import System.FilePath as Path
listDirectory :: FilePath -> IO [FilePath]
listDirectory path =
filter f <$> Dir.getDirectoryContents path
filter f `fmap` Dir.getDirectoryContents path
where f filename = filename /= "." && filename /= ".."
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment