Skip to content

Instantly share code, notes, and snippets.

@r00k
Created June 24, 2017 20:52
Show Gist options
  • Save r00k/834a1b5f8b5f9e8c53551b024a2b7070 to your computer and use it in GitHub Desktop.
Save r00k/834a1b5f8b5f9e8c53551b024a2b7070 to your computer and use it in GitHub Desktop.
isValidUrl : String -> Bool
isValidUrl str =
List.all
((|>) str)
[ isLower, hasNoSpaces ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment