1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00

read entire file specified into a bytestring

This commit is contained in:
Ayman Nadeem 2019-10-01 18:38:22 -04:00
parent e0a1a8091c
commit 1a0cdc2fb8

View File

@ -14,3 +14,4 @@ import System.IO (FilePath)
main :: IO ()
main = do
args <- head <$> getArgs
bytestring <- Data.ByteString.readFile args