]> Git — Sourcephile - gargantext.git/blob - src/Gargantext/Text/Crawlers.hs
[FEAT] Confluence for Graph.
[gargantext.git] / src / Gargantext / Text / Crawlers.hs
1 {-|
2 Module : Gargantext.Text.Crawlers
3 Description : All crawlers of Gargantext in one file.
4 Copyright : (c) CNRS, 2017
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
8 Portability : POSIX
9
10 -}
11
12 {-# LANGUAGE NoImplicitPrelude #-}
13 {-# LANGUAGE OverloadedStrings #-}
14
15 module Gargantext.Text.Crawlers
16 where
17
18 {-
19 import Data.Text (Text)
20 --import Gargantext.Prelude
21 import qualified PUBMED as PubMed
22
23 data Crawler = PubMed | HAL | Isidore
24
25 type Query = Text
26
27
28
29 --{-
30 crawl :: Crawler -> Query -> IO [PubMed.Doc]
31 crawl Pubmed = PubMed.crawler
32 --}
33 -}