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
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
Julien Moutinho
haskell-gargantext
Commits
c430654e
Commit
c430654e
authored
Sep 23, 2018
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] compilation.
parent
f762eb6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Mono.hs
src/Gargantext/Text/Terms/Mono.hs
+1
-1
Example.hs
src/Gargantext/Viz/Phylo/Example.hs
+2
-2
No files found.
src/Gargantext/Text/Terms/Mono.hs
View file @
c430654e
...
...
@@ -13,7 +13,7 @@ Mono-terms are Nterms where n == 1.
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Text.Terms.Mono
(
monoTerms
,
monoTexts
,
monoTextsBySentence
)
module
Gargantext.Text.Terms.Mono
(
monoTerms
,
monoTexts
,
monoTextsBySentence
,
words
)
where
import
Prelude
(
String
)
...
...
src/Gargantext/Viz/Phylo/Example.hs
View file @
c430654e
...
...
@@ -30,7 +30,7 @@ type PeriodeSize = Int
------------------------------------------------------------------------
toPeriodes
::
(
Enum
b
,
Fractional
b
,
Ord
b
)
=>
(
t
->
b
)
->
b
->
[
t
]
->
Map
(
b
,
b
)
[
t
]
toPeriodes
_
_
[]
=
panic
"Empty history can not have any periode"
toPeriodes
_
_
[]
=
panic
$
pack
"Empty history can not have any periode"
toPeriodes
f
s
hs
=
periodes
f
st
hs
where
hs'
=
DL
.
sortOn
f
hs
...
...
@@ -59,7 +59,7 @@ steps s (b,e) = zip (DL.init ss) (DL.tail ss)
steps'
::
(
Enum
b
,
Fractional
b
,
Ord
b
)
=>
b
->
(
b
,
b
)
->
[
b
]
steps'
s
(
b
,
e
)
=
case
s
>
0
of
False
->
panic
"Steps size can not be < 0"
False
->
panic
$
pack
"Steps size can not be < 0"
True
->
steps''
s
(
b
,
e
)
steps''
::
(
Fractional
b
,
Enum
b
)
=>
b
->
(
b
,
b
)
->
[
b
]
...
...
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