This is an older version of the post. See the latest version here.
Syntax highlighting?
toSlug :: T.Text -> T.Text
toSlug =
T.intercalate (T.singleton '-') . T.words . T.toLower . cleanThis is an older version of the post. See the latest version here.
Syntax highlighting?
toSlug :: T.Text -> T.Text
toSlug =
T.intercalate (T.singleton '-') . T.words . T.toLower . clean