]> Git — Sourcephile - gargantext.git/blob - src/Gargantext/API/Flow.hs
[Merge] dev -> dev-phylo ready
[gargantext.git] / src / Gargantext / API / Flow.hs
1 {-|
2 Module : Gargantext.API.Flow
3 Description : Main Flow API DataTypes
4 Copyright : (c) CNRS, 2017-Present
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
8 Portability : POSIX
9
10
11 -}
12
13 {-# OPTIONS_GHC -fno-warn-orphans #-}
14
15 {-# LANGUAGE ScopedTypeVariables #-}
16 {-# LANGUAGE TemplateHaskell #-}
17 {-# LANGUAGE TypeOperators #-}
18
19 module Gargantext.API.Flow
20 where
21
22 -- import Gargantext.API.Prelude
23 import Gargantext.Prelude
24
25 data InputFlow = TextsInput
26 | NgramsInput
27 | ListInput
28
29 data Flow = EndFlow
30 | Texts InputFlow [Flow]
31 | Ngrams InputFlow [Flow]
32 | Lists InputFlow [Flow]
33
34 data OutputFlow
35
36 flow :: Flow -> OutputFlow
37 flow = undefined
38