mirror of
https://github.com/The1Penguin/org-to-mafiauniverse.git
synced 2025-06-29 09:27:13 +00:00
Read from file given in first argument
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
module Main where
|
||||
|
||||
import System.Environment
|
||||
|
||||
main :: IO ()
|
||||
main = putStrLn "Hello, Haskell!"
|
||||
main = putStrLn =<< readFile =<< head <$> getArgs
|
||||
|
Reference in New Issue
Block a user