mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
inline fmap
This commit is contained in:
parent
44e9f50434
commit
e3777a1c08
@ -43,7 +43,7 @@ main :: IO ()
|
||||
main = do
|
||||
arguments <- execParser opts
|
||||
let (sourceAPath, sourceBPath) = (sourceA arguments, sourceB arguments)
|
||||
sources <- sequence $ fmap readAndTranscodeFile $ Join (sourceAPath, sourceBPath)
|
||||
sources <- sequence $ readAndTranscodeFile <$> Join (sourceAPath, sourceBPath)
|
||||
let parse = (P.parserForType . T.pack . takeExtension) sourceAPath
|
||||
terms <- sequence $ parse <$> sources
|
||||
let replaceLeaves = replaceLeavesWithWordBranches <$> sources
|
||||
|
Loading…
Reference in New Issue
Block a user