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