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
13 {-# OPTIONS_GHC -fno-warn-orphans #-}
15 {-# LANGUAGE ScopedTypeVariables #-}
16 {-# LANGUAGE TemplateHaskell #-}
17 {-# LANGUAGE TypeOperators #-}
19 module Gargantext.API.Flow
22 -- import Gargantext.API.Prelude
23 import Gargantext.Prelude
25 data InputFlow = TextsInput
30 | Texts InputFlow [Flow]
31 | Ngrams InputFlow [Flow]
32 | Lists InputFlow [Flow]
36 flow :: Flow -> OutputFlow