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
153
Issues
153
List
Board
Labels
Milestones
Merge Requests
9
Merge Requests
9
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
98305607
Commit
98305607
authored
Jun 07, 2023
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TOOLING] using Clippy and renaming function to export book
parent
e42661a8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
+10
-5
gargantext.cabal
gargantext.cabal
+2
-1
package.yaml
package.yaml
+4
-1
Book.hs
src/Gargantext/Core/Text/Corpus/Parsers/Book.hs
+2
-2
stack.yaml
stack.yaml
+2
-1
No files found.
gargantext.cabal
View file @
98305607
...
...
@@ -357,7 +357,7 @@ library
RankNTypes
RecordWildCards
StrictData
ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wmissing-signatures -Wunused-binds -Wunused-imports -Werror -freduction-depth=300
ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wmissing-signatures -Wunused-binds -Wunused-imports -Werror -freduction-depth=300
-fplugin=Clippy
build-depends:
HSvm
, KMP
...
...
@@ -416,6 +416,7 @@ library
, fullstop
, gargantext-graph >=0.1.0.0
, gargantext-prelude
, ghc-clippy-plugin
, graphviz
, hashable
, haskell-igraph
...
...
package.yaml
View file @
98305607
...
...
@@ -16,7 +16,8 @@ copyright:
-
!
'
Copyright:
(c)
2017-Present:
see
git
logs
and
README'
license
:
AGPL-3
homepage
:
https://gargantext.org
ghc-options
:
-Wall
ghc-options
:
-
-Wall
dependencies
:
-
extra
-
text
...
...
@@ -54,6 +55,7 @@ library:
-
-Wunused-imports
-
-Werror
-
-freduction-depth=300
-
-fplugin=Clippy
exposed-modules
:
-
Gargantext
-
Gargantext.API
...
...
@@ -169,6 +171,7 @@ library:
-
cassava
-
cereal
# (IGraph)
-
cborg
-
ghc-clippy-plugin
-
conduit
-
conduit-extra
-
containers
...
...
src/Gargantext/Core/Text/Corpus/Parsers/Book.hs
View file @
98305607
...
...
@@ -32,8 +32,8 @@ import qualified Data.Text as DT
type
FileOut
=
FilePath
publi
2csv
::
Int
->
FileDir
->
FileOut
->
IO
()
publi
2csv
n
f_in
f_out
=
do
book
2csv
::
Int
->
FileDir
->
FileOut
->
IO
()
book
2csv
n
f_in
f_out
=
do
files
<-
filesOf
f_in
texts
<-
readPublis
f_in
files
let
publis
=
List
.
concat
$
map
(
file2publi
n
)
texts
...
...
stack.yaml
View file @
98305607
...
...
@@ -36,8 +36,9 @@ extra-deps:
-
hstatistics-0.3.1
-
HSvm-0.1.1.3.22
-
hsparql-0.3.8
-
ghc-clippy-plugin-0.0.0.1
#- git: https://gitlab.iscpif.fr/gargantext/haskell-gargantext-prelude.git
#- git
:
https://gitlab.iscpif.fr/gargantext/haskell-gargantext-prelude.git
# commit: 791c2a7046a3760f8ae5fabdbd708f61caa63741
-
git
:
https://gitlab.iscpif.fr/cgenie/haskell-gargantext-prelude
commit
:
8f97fef4dfd941d773914ad058d8e02ce2bb1a3e
# e250af8a495191b4bd06c9f465656b87bea7bf7f
...
...
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