duckling/Duckling
Steven Troxler dbc5c91263 Remove all name clashes in Time/Helpers.hs
Summary:
Solutions were:
 - use targeted and qualified imports to avoid pulling in the universe of Duckling.Types
 - use long-form descriptive names in a few places
 - shuffle a let clause to just define an output instead of a local func

Also got rid of another lint error suggesting to use a section instead of flip;
the module is now lint-warning free.

Reviewed By: chessai

Differential Revision: D28462775

fbshipit-source-id: 1e2855756b22cb62db0d94334a7e063aa728b7bf
2021-05-18 11:50:18 -07:00
..
AmountOfMoney Init 2021-05-12 11:32:18 -07:00
CreditCardNumber Relicense to BSD3 2019-05-22 10:46:39 -07:00
Dimensions Init 2021-05-12 17:33:54 -07:00
Distance Add rulePrecision 2021-05-12 13:32:39 -07:00
DistanceUnits Relicense to BSD3 2019-05-22 10:46:39 -07:00
Duration Init 2021-05-12 17:33:54 -07:00
Email Add type=value to JSON response for Email, PhoneNumber and Url 2020-03-18 17:04:42 -07:00
Engine Relicense to BSD3 2019-05-22 10:46:39 -07:00
Numeral ES Numeral con 2021-05-14 13:50:22 -07:00
Ordinal NL: Fix spelling of ‘achttien’ (18) (#602) 2021-04-19 18:01:33 -07:00
PhoneNumber Add type=value to JSON response for Email, PhoneNumber and Url 2020-03-18 17:04:42 -07:00
Quantity Quantity/EN: Support k.g k.g. (#570) 2021-02-03 12:46:27 -08:00
Ranking Move Candidate to Ranking/Types.hs 2021-05-18 11:50:17 -07:00
Regex parse latent year intervals 2021-01-29 16:33:56 -08:00
Rules Init 2021-05-12 17:33:54 -07:00
Temperature Init 2021-05-12 14:02:54 -07:00
Testing Simple style fixes for outer layers around Engine.hs 2021-05-06 08:54:56 -07:00
Time Remove all name clashes in Time/Helpers.hs 2021-05-18 11:50:18 -07:00
TimeGrain Init 2021-05-12 16:33:51 -07:00
Types Make isRangeValid take Lang as input 2021-05-17 13:18:11 -07:00
Url Add type=value to JSON response for Email, PhoneNumber and Url 2020-03-18 17:04:42 -07:00
Volume Add rulePrecision2 2021-05-12 16:53:37 -07:00
Api.hs Filter with a self-describing function in where 2021-05-06 08:54:57 -07:00
Core.hs Simple style fixes for outer layers around Engine.hs 2021-05-06 08:54:56 -07:00
Debug.hs In Debug.hs, s/sentence/input/g 2021-05-06 08:54:57 -07:00
Dimensions.hs Initialise Catalan language with Numeral 2021-04-08 14:47:02 -07:00
Engine.hs Make isRangeValid take Lang as input 2021-05-17 13:18:11 -07:00
Locale.hs Initialise Catalan language with Numeral 2021-04-08 14:47:02 -07:00
Region.hs Add a new Arabic locale (EG) (#554) 2020-12-15 11:33:40 -08:00
Resolve.hs Relicense to BSD3 2019-05-22 10:46:39 -07:00
Rules.hs Initialise Catalan language with Numeral 2021-04-08 14:47:02 -07:00
Types.hs Move Candidate to Ranking/Types.hs 2021-05-18 11:50:17 -07:00