4 lines
129 B
Haskell
4 lines
129 B
Haskell
eagerReadFile :: FilePath -> IO String
|
|
eagerReadFile filepath = do
|
|
text <- readFile filepath
|
|
last text `seq` return text
|