mirror of
https://github.com/correl/elm.git
synced 2024-11-16 11:09:29 +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!"
|