diff --git a/docs/SNIPPET.txt b/docs/SNIPPET.txt new file mode 100644 index 0000000..0ef64f0 --- /dev/null +++ b/docs/SNIPPET.txt @@ -0,0 +1,10 @@ +module HelloWorld exposing (..) + +helloWorld : Maybe String -> String +helloWorld name = + case name of + Just name -> + "Hello, " ++ name ++ "!" + + Nothing -> + "Hello, World!"