mirror of
https://github.com/correl/elm.git
synced 2024-12-20 03:20:17 +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!"
|