String pluralization and singularization
toPlural : String -> String
Convert word to plural form.
toPlural "potato" == "potatoes"
toPlural "cat" == "cats"
toPlural "The Illustrated Man" == "The Illustrated Men"
toPlural "SHOUT" == "SHOUTS"
toSingular : String -> String
Convert word to singlular form.
toSingular "potatoes" == "potato"
toSingular "cats" == "cat"
toSingular "The Illustrated Men" == "The Illustrated Man"
toSingular "SHOUTS" == "SHOUT"