We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cebe523 commit de66704Copy full SHA for de66704
main/Main.hs
@@ -55,9 +55,9 @@ main = do
55
Nothing -> case expression opts of
56
Just s -> handleResult opts Nothing (parseNixTextLoc s)
57
Nothing -> case fromFile opts of
58
- Just "-" -> mapM_ (processFile opts) =<< (lines <$> liftIO getContents)
+ Just "-" -> mapM_ (processFile opts) . lines =<< liftIO getContents
59
Just path ->
60
- mapM_ (processFile opts) =<< (lines <$> liftIO (readFile path))
+ mapM_ (processFile opts) . lines =<< liftIO (readFile path)
61
Nothing -> case filePaths opts of
62
[] -> withNixContext Nothing Repl.main
63
["-"] ->
0 commit comments