1
0
Fork 0
mirror of https://github.com/correl/elm.git synced 2025-03-25 21:05:01 -09:00
elm/exercises/hello-world/HelloWorld.example.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!"