duckling/Duckling
Bartosz Nitka e37bb7c186 Duckling monad for Engine
Summary:
This converts the code to monadic style, so that
we can in the future:
* stop threading the `Document` parameter everywhere
* keep some state, like regexp match cache (I've already checked that it makes a substantial difference)

There should be no difference in performance or behavior
at this point.

Reviewed By: patapizza

Differential Revision: D4778808

fbshipit-source-id: a167ed8
2017-03-31 14:19:40 -07:00
..
AmountOfMoney Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Dimensions Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Distance Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Duration Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Email Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Engine Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Numeral Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Ordinal Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
PhoneNumber Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Quantity Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Ranking Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Regex Initial commit 2017-03-08 10:33:56 -08:00
Rules Rename Finance to AmountOfMoney 2017-03-16 14:49:44 -07:00
Temperature Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Testing Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Time Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
TimeGrain Initial commit 2017-03-08 10:33:56 -08:00
Url Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Volume Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Api.hs Make Show Dimension "law-abiding" 2017-03-16 16:34:16 -07:00
Core.hs Expose toName 2017-03-22 08:19:19 -07:00
Debug.hs Move onto dependent-sum instead of custom local data Some 2017-03-15 10:34:17 -07:00
Dimensions.hs Rename Finance to AmountOfMoney 2017-03-16 14:49:44 -07:00
Engine.hs Duckling monad for Engine 2017-03-31 14:19:40 -07:00
Lang.hs Initial commit 2017-03-08 10:33:56 -08:00
Resolve.hs Fix st build 2017-03-09 10:49:26 -08:00
Rules.hs Strip off TODO/FIXME 2017-03-10 12:04:16 -08:00
Stash.hs Initial commit 2017-03-08 10:33:56 -08:00
Types.hs Optimize isAdjacent 2017-03-21 07:34:24 -07:00