grains :: [(Text, String, TG.Grain)]
grains = [ ("segon (grain)", "seg(on)?s?", TG.Second)
         , ("minuts (grain)", "min(ut)?s?", TG.Minute)
         , ("hora (grain)", "h(or(a|es))?", TG.Hour)
         , ("dia (grain)", "d(í|i)(a|es)", TG.Day)
         , ("setmana (grain)", "setman(a|es)", TG.Week)
         , ("mes (grain)", "mes(os)?", TG.Month)
         , ("trimestre (grain)", "trimestres?", TG.Quarter)
         , ("any (grain)", "anys?", TG.Year)
         ]

grains :: [(Text, String, TG.Grain)]
grains = [ ("segon (grain)", "seg(on)?s?", TG.Second)
         , ("minuts (grain)", "min(ut)?s?", TG.Minute)
         , ("hora (grain)", "h(or(a|es))?", TG.Hour)
         , ("dia (grain)", "d(í|i)(a|es)", TG.Day)
         , ("setmana (grain)", "setman(a|es)", TG.Week)
         , ("mes (grain)", "mes(os)?", TG.Month)
         , ("trimestre (grain)", "trimestres?", TG.Quarter)
         , ("any (grain)", "anys?", TG.Year)
         ]
grains = [ ("segon (grain)", "seg(on)?s?", TG.Second)
         , ("minuts (grain)", "min(ut)?s?", TG.Minute)
         , ("hora (grain)", "h(or(a|es))?", TG.Hour)
         , ("dia (grain)", "d(í|i)(a|es)", TG.Day)
         , ("setmana (grain)", "setman(a|es)", TG.Week)
         , ("mes (grain)", "mes(os)?", TG.Month)
         , ("trimestre (grain)", "trimestres?", TG.Quarter)
         , ("any (grain)", "anys?", TG.Year)
         ]