folsen / opaleye-gen

A lightweight program to generate Opaleye boilerplate from a database
BSD 3-Clause "New" or "Revised" License
13 stars 9 forks source link

consider different countable inflection package #11

Open flip111 opened 6 years ago

flip111 commented 6 years ago

In the description of countable-inflections:

It uses regexes to define the non-standard transformations and therefore doesn't provide much safety. If you need to provide the same pluralization and singularization which rails does out of the box, this will work the same. If you want more you should be using inflections-hs which uses megaparsec to give you more guarantees

The other library which is being refered to seems a lot better maintained as well https://github.com/stackbuilders/inflections-hs