Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
148
Issues
148
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
f348606c
Verified
Commit
f348606c
authored
Oct 25, 2023
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ngrams] list.hs: fix imports and unused vars
parent
96152c5c
Pipeline
#5304
passed with stages
in 72 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
List.hs
src/Gargantext/API/Ngrams/List.hs
+1
-3
No files found.
src/Gargantext/API/Ngrams/List.hs
View file @
f348606c
...
@@ -31,7 +31,6 @@ import Gargantext.API.Admin.Orchestrator.Types
...
@@ -31,7 +31,6 @@ import Gargantext.API.Admin.Orchestrator.Types
import
Gargantext.API.Ngrams
(
setListNgrams
)
import
Gargantext.API.Ngrams
(
setListNgrams
)
import
Gargantext.API.Ngrams.List.Types
import
Gargantext.API.Ngrams.List.Types
import
Gargantext.API.Ngrams.Prelude
(
getNgramsList
)
import
Gargantext.API.Ngrams.Prelude
(
getNgramsList
)
import
Gargantext.API.Ngrams.Tools
(
getNodeStoryVar
)
import
Gargantext.API.Ngrams.Types
import
Gargantext.API.Ngrams.Types
import
Gargantext.API.Prelude
(
GargServer
,
GargM
,
GargError
)
import
Gargantext.API.Prelude
(
GargServer
,
GargM
,
GargError
)
import
Gargantext.API.Types
import
Gargantext.API.Types
...
@@ -48,7 +47,6 @@ import Gargantext.Database.Types (Indexed(..))
...
@@ -48,7 +47,6 @@ import Gargantext.Database.Types (Indexed(..))
import
Gargantext.Prelude
hiding
(
concat
,
toList
)
import
Gargantext.Prelude
hiding
(
concat
,
toList
)
import
Gargantext.Utils.Jobs
(
serveJobsAPI
,
MonadJobStatus
(
..
))
import
Gargantext.Utils.Jobs
(
serveJobsAPI
,
MonadJobStatus
(
..
))
import
Gargantext.Utils.Servant
qualified
as
GUS
import
Gargantext.Utils.Servant
qualified
as
GUS
import
GHC.Conc
(
readTVar
)
import
Prelude
qualified
import
Prelude
qualified
import
Protolude
qualified
as
P
import
Protolude
qualified
as
P
import
Servant
import
Servant
...
@@ -125,7 +123,7 @@ setList l m = do
...
@@ -125,7 +123,7 @@ setList l m = do
-- TODO check with Version for optim
-- TODO check with Version for optim
-- printDebug "New list as file" l
-- printDebug "New list as file" l
_
<-
mapM
(
\
(
nt
,
Versioned
_v
ns
)
->
(
setListNgrams
l
nt
ns
))
$
toList
m
_
<-
mapM
(
\
(
nt
,
Versioned
_v
ns
)
->
(
setListNgrams
l
nt
ns
))
$
toList
m
v
<-
getNodeStoryVar
[
l
]
--
v <- getNodeStoryVar [l]
-- liftBase $ do
-- liftBase $ do
-- ns <- atomically $ readTVar v
-- ns <- atomically $ readTVar v
-- printDebug "[setList] node story: " ns
-- printDebug "[setList] node story: " ns
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment