mirror of
https://github.com/The1Penguin/org-to-mafiauniverse.git
synced 2024-11-22 02:08:13 +00:00
Read from file given in first argument
This commit is contained in:
parent
c2e90bc0e6
commit
152d73665f
@ -1,4 +1,6 @@
|
|||||||
module Main where
|
module Main where
|
||||||
|
|
||||||
|
import System.Environment
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = putStrLn "Hello, Haskell!"
|
main = putStrLn =<< readFile =<< head <$> getArgs
|
||||||
|
Loading…
Reference in New Issue
Block a user