Skip to content

Commit de66704

Browse files
committed
Main: fuse functor
1 parent cebe523 commit de66704

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/Main.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ main = do
5555
Nothing -> case expression opts of
5656
Just s -> handleResult opts Nothing (parseNixTextLoc s)
5757
Nothing -> case fromFile opts of
58-
Just "-" -> mapM_ (processFile opts) =<< (lines <$> liftIO getContents)
58+
Just "-" -> mapM_ (processFile opts) . lines =<< liftIO getContents
5959
Just path ->
60-
mapM_ (processFile opts) =<< (lines <$> liftIO (readFile path))
60+
mapM_ (processFile opts) . lines =<< liftIO (readFile path)
6161
Nothing -> case filePaths opts of
6262
[] -> withNixContext Nothing Repl.main
6363
["-"] ->

0 commit comments

Comments
 (0)