]> Git — Sourcephile - gargantext.git/blob - src/Gargantext/API/Flow.hs
[refactoring] more record syntax refactoring
[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 module Gargantext.API.Flow
14 where
15
16 -- import Gargantext.API.Prelude
17 import Gargantext.Prelude
18
19 data InputFlow = TextsInput
20 | NgramsInput
21 | ListInput
22
23 data Flow = EndFlow
24 | Texts InputFlow [Flow]
25 | Ngrams InputFlow [Flow]
26 | Lists InputFlow [Flow]
27
28 data OutputFlow
29
30 flow :: Flow -> OutputFlow
31 flow = undefined
32