Data.String.Slugger
toSlug :: String -> String Source #
Converts to a US-ASCII, lowercase, hyphenated, URI-friendly "slug"
Examples:
toSlug "Hey there, world!" -- "hey-there-world" toSlug "GARÇON - déjà , Forêt — Zoë" -- "garcon-deja-foret-zoe"