mirror of
https://github.com/correl/elm.git
synced 2024-11-16 19:19:28 +00:00
9 lines
180 B
Text
9 lines
180 B
Text
module HelloWorld where
|
|
|
|
helloworld : Maybe String -> String
|
|
helloworld name =
|
|
case name of
|
|
Just name ->
|
|
"Hello, " ++ name ++ "!"
|
|
Nothing ->
|
|
"Hello, World!"
|