Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Przemyslaw Kaminski
haskell-gargantext
Commits
61ae3d2f
Unverified
Commit
61ae3d2f
authored
Jul 04, 2018
by
Nicolas Pouillard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display the current proc
parent
94d1480d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
Main.hs
bin/gargantext-cli/Main.hs
+7
-3
No files found.
bin/gargantext-cli/Main.hs
View file @
61ae3d2f
...
...
@@ -32,12 +32,12 @@ import qualified Data.IntMap as DM
import
Data.Map
(
Map
)
import
Data.Text
(
Text
)
import
Data.List
(
cycle
,
concat
)
import
Data.List
(
cycle
,
concat
,
unwords
)
import
Data.List.Split
(
chunksOf
)
import
System.IO
(
hPutStr
,
hFlush
,
stderr
)
import
System.Environment
import
Control.Concurrent.Async
as
CCA
(
mapConcurrently
)
import
Control.Concurrent
(
getNumCapabilities
)
import
Control.Concurrent
(
getNumCapabilities
,
myThreadId
,
threadCapability
)
import
Prelude
((
>>
))
import
Gargantext.Prelude
...
...
@@ -77,7 +77,11 @@ filterTermsAndCooc patterns (year, ts) = do
log
"stop"
pure
r
where
log
m
=
putStrLn
$
"filterTermsAndCooc: "
<>
m
<>
" "
<>
show
year
log
m
=
do
tid
<-
myThreadId
(
p
,
_
)
<-
threadCapability
tid
putStrLn
.
unwords
$
[
"filterTermsAndCooc:"
,
m
,
show
year
,
"on proc"
,
show
p
]
--main :: IO [()]
main
=
do
...
...
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