Demo entry 1487208

Greeter in Haskell


Submitted by ijks on Apr 18, 2015 at 19:14
Language: Haskell. Code size: 125 Bytes.

module Main where

main = do
    putStrLn "What is your name?"
    name <- getLine
    putStrLn "Hello, " ++ name ++ "!"

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).