mirror of
https://github.com/correl/elm.git
synced 2024-12-22 11:09:08 +00:00
10 lines
186 B
Text
10 lines
186 B
Text
module HelloWorld (..) where
|
|
|
|
|
|
helloWorld : Maybe String -> String
|
|
helloWorld name =
|
|
case name of
|
|
Just name ->
|
|
"Hello, " ++ name ++ "!"
|
|
Nothing ->
|
|
"Hello, World!"
|