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