[hylo] small refactorings to make the code more readable

4 jobs for 494-dev-phylo-hh-mm-ss-2 in 18 minutes and 5 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Cabal
failed #19104
cabal

00:18:05

 
  Stack
skipped #19105
stack
 
  Bench
skipped #19106
allowed to fail manual
bench
 
  Test
skipped #19107
test
 
Name Stage Failure
failed
cabal Cabal
[361 of 379] Compiling Gargantext.API.Ngrams.List ( src/Gargantext/API/Ngrams/List.hs, /builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.6.6/gargantext-0.0.7.4.8/opt/build/Gargantext/API/Ngrams/List.o, /builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.6.6/gargantext-0.0.7.4.8/opt/build/Gargantext/API/Ngrams/List.dyn_o ) [Gargantext.API.Worker changed]
[363 of 379] Compiling Gargantext.API.Server.Named.Ngrams ( src/Gargantext/API/Server/Named/Ngrams.hs, /builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.6.6/gargantext-0.0.7.4.8/opt/build/Gargantext/API/Server/Named/Ngrams.o, /builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.6.6/gargantext-0.0.7.4.8/opt/build/Gargantext/API/Server/Named/Ngrams.dyn_o ) [Gargantext.API.Worker changed]
[366 of 379] Compiling Gargantext.API.Swagger ( src/Gargantext/API/Swagger.hs, /builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.6.6/gargantext-0.0.7.4.8/opt/build/Gargantext/API/Swagger.o, /builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.6.6/gargantext-0.0.7.4.8/opt/build/Gargantext/API/Swagger.dyn_o ) [Gargantext.API.Routes.Named changed]
[368 of 379] Compiling Gargantext.API.Server.Named.Remote ( src/Gargantext/API/Server/Named/Remote.hs, /builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.6.6/gargantext-0.0.7.4.8/opt/build/Gargantext/API/Server/Named/Remote.o, /builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.6.6/gargantext-0.0.7.4.8/opt/build/Gargantext/API/Server/Named/Remote.dyn_o ) [Gargantext.Core.Worker.Jobs changed]
Error: [Cabal-7125]
Failed to build gargantext-0.0.7.4.8 (which is required by exe:gargantext from gargantext-0.0.7.4.8 and test:garg-test from gargantext-0.0.7.4.8).

Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1