stackbuilders / inflections-hs

Rails-like inflections for Haskell
MIT License
36 stars 11 forks source link

add pluralize & singularize #37

Closed tippenein closed 6 years ago

tippenein commented 8 years ago

~Feature Request~ I need something like this: https://github.com/rails/rails/blob/master/activesupport/lib/active_support/inflections.rb

It would seem appropriate to put this functionality along with your work.

tippenein commented 8 years ago

Initial tested "irregular" countables here

I'm not sure the best way to generate this mapping is though. You might not want to add a regex dependency and generating the singular/plural versions of these into a Bimap is not plausible.

tippenein commented 8 years ago

41 implements this

elcuy commented 6 years ago

Closing this since it's solved