1
0
Fork 0
mirror of https://github.com/correl/elm.git synced 2025-01-11 03:00:09 +00:00
elm/exercises/hello-world/HelloWorld.example
2016-03-17 20:21:55 -04:00

11 lines
186 B
Text

module HelloWorld (..) where
helloWorld : Maybe String -> String
helloWorld name =
case name of
Just name ->
"Hello, " ++ name ++ "!"
Nothing ->
"Hello, World!"