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
12
Merge Requests
12
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
2563cd00
Commit
2563cd00
authored
Feb 08, 2018
by
Mael NICOLAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Need to derive Arbitrary for ParseError and Eq for ZonedTime
parent
8900e91f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
package.yaml
package.yaml
+4
-0
Main.hs
src-test/Main.hs
+3
-1
Date.hs
src/Gargantext/Parsers/Date.hs
+1
-1
No files found.
package.yaml
View file @
2563cd00
...
...
@@ -134,6 +134,10 @@ tests:
-
gargantext
-
hspec
-
QuickCheck
-
time
-
parsec
-
duckling
-
text
garg-doctest
:
main
:
Main.hs
source-dirs
:
src-doctest
...
...
src-test/Main.hs
View file @
2563cd00
...
...
@@ -3,10 +3,12 @@ import Gargantext.Types.Main (Language(..))
import
qualified
Ngrams.Lang
as
Lang
import
qualified
Ngrams.Lang.Occurrences
as
Occ
import
qualified
Ngrams.Metrics
as
Metrics
import
qualified
Parsers.Date
as
PD
main
::
IO
()
main
=
do
Occ
.
parsersTest
Lang
.
ngramsExtractionTest
FR
Lang
.
ngramsExtractionTest
EN
Metrics
.
main
PD
.
testFromRFC3339
src/Gargantext/Parsers/Date.hs
View file @
2563cd00
...
...
@@ -18,7 +18,7 @@ DGP.parseDate1 DGP.FR "12 avril 2010" == "2010-04-12T00:00:00.000+00:00"
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Parsers.Date
(
parseDate1
,
Lang
(
FR
,
EN
),
parseDate
)
where
module
Gargantext.Parsers.Date
(
parseDate1
,
Lang
(
FR
,
EN
),
parseDate
,
fromRFC3339
)
where
import
Gargantext.Prelude
import
Prelude
(
toInteger
)
...
...
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