]> Git — Sourcephile - gargantext.git/commit
Refactor pagination to use `NgramsSearchQuery`
authorAlfredo Di Napoli <alfredo@well-typed.com>
Tue, 2 May 2023 07:25:32 +0000 (09:25 +0200)
committerAlfredo Di Napoli <alfredo@well-typed.com>
Wed, 3 May 2023 06:49:28 +0000 (08:49 +0200)
commit92be964e4672511963f546ecb15118fc4c7f51de
tree0e9df48b2db5e6913b5f2adb7102d1cd51a388b8
parent1c88fb9196cedee56029c0751caba6675722cc63
Refactor pagination to use `NgramsSearchQuery`

This commit refactors the Ngrams pagination code to use
the `NgramsSearchQuery`, and it introduces a new function called
`searchTableNgrams`, which is now completely pure.
src/Gargantext/API/Ngrams.hs
src/Gargantext/API/Ngrams/Types.hs