Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Html exposing (text)
- testingNothing : List number -> String
- testingNothing list =
- case List.head list of
- Just num ->
- "List is not empty"
- Nothing ->
- "List is empty. Nothing returned from List.head"
- main =
- text <| testingNothing([])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement