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