mirror of
https://github.com/The1Penguin/org-to-mafiauniverse.git
synced 2025-06-29 17:37:12 +00:00
Read from file given in first argument
This commit is contained in:
@ -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