mirror of
https://github.com/correl/elm.git
synced 2024-11-16 19:19:28 +00:00
11 lines
211 B
Elm
11 lines
211 B
Elm
module HelloWorld exposing (..)
|
|
|
|
|
|
helloWorld : Maybe String -> String
|
|
helloWorld name =
|
|
case name of
|
|
Just name ->
|
|
"Hello, " ++ name ++ "!"
|
|
|
|
Nothing ->
|
|
"Hello, World!"
|