Last active
January 5, 2018 23:13
-
-
Save Lartza/d90fbf70e96825676b2bd69d559c4145 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Network.HostName | |
import System.Posix.User | |
main = do | |
hostname <- getHostName | |
username <- getLoginName | |
putStrLn (hostname ++ " hugs " ++ username) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment