Merge pull request #159 from exercism/default-snippet

Add default introductory code example
This commit is contained in:
Katrina Owen 2017-09-01 16:34:43 -06:00 committed by GitHub
commit 243915c4eb

10
docs/SNIPPET.txt Normal file
View file

@ -0,0 +1,10 @@
module HelloWorld exposing (..)
helloWorld : Maybe String -> String
helloWorld name =
case name of
Just name ->
"Hello, " ++ name ++ "!"
Nothing ->
"Hello, World!"