mirror of
https://github.com/The1Penguin/org-to-mafiauniverse.git
synced 2026-11-08 13:18:43 +00:00
Read from file given in first argument
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -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
|
||||||
Reference in new issue
Block a user