gargantext-0.0.7.1.5.3: Search, map, share
Copyright(c) CNRS 2017-Present
LicenseAGPL + CECILL v3
Maintainerteam@gargantext.org
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Gargantext.API.Ngrams.Types

Description

 
Synopsis

Documentation

data TabType #

Instances

Instances details
Arbitrary TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSONKey TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSONKey TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Bounded TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Enum TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep TabType :: Type -> Type #

Methods

from :: TabType -> Rep TabType x #

to :: Rep TabType x -> TabType #

Show TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Eq TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

(==) :: TabType -> TabType -> Bool #

(/=) :: TabType -> TabType -> Bool #

Ord TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Hashable TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

hashWithSalt :: Int -> TabType -> Int #

hash :: TabType -> Int #

FromHttpApiData TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToHttpApiData TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToParamSchema TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

toParamSchema :: forall (t :: SwaggerKind Type). Proxy TabType -> ParamSchema t #

ToSchema TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

HasSwagger (WithCustomErrorScheme GargAPI) # 
Instance details

Defined in Gargantext.API.Routes

type Rep TabType # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep TabType = D1 ('MetaData "TabType" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'False) (((C1 ('MetaCons "Docs" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Trash" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MoreFav" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MoreTrash" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Terms" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Sources" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Authors" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Institutes" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Contacts" 'PrefixI 'False) (U1 :: Type -> Type)))))

newtype MSet a #

Constructors

MSet (Map a ()) 

Instances

Instances details
Foldable MSet # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

fold :: Monoid m => MSet m -> m #

foldMap :: Monoid m => (a -> m) -> MSet a -> m #

foldMap' :: Monoid m => (a -> m) -> MSet a -> m #

foldr :: (a -> b -> b) -> b -> MSet a -> b #

foldr' :: (a -> b -> b) -> b -> MSet a -> b #

foldl :: (b -> a -> b) -> b -> MSet a -> b #

foldl' :: (b -> a -> b) -> b -> MSet a -> b #

foldr1 :: (a -> a -> a) -> MSet a -> a #

foldl1 :: (a -> a -> a) -> MSet a -> a #

toList :: MSet a -> [a] #

null :: MSet a -> Bool #

length :: MSet a -> Int #

elem :: Eq a => a -> MSet a -> Bool #

maximum :: Ord a => MSet a -> a #

minimum :: Ord a => MSet a -> a #

sum :: Num a => MSet a -> a #

product :: Num a => MSet a -> a #

(Ord a, Arbitrary a) => Arbitrary (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

arbitrary :: Gen (MSet a) #

shrink :: MSet a -> [MSet a] #

(Ord a, FromJSON a) => FromJSON (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON a => ToJSON (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord a => Monoid (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

mempty :: MSet a #

mappend :: MSet a -> MSet a -> MSet a #

mconcat :: [MSet a] -> MSet a #

Ord a => Semigroup (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

(<>) :: MSet a -> MSet a -> MSet a #

sconcat :: NonEmpty (MSet a) -> MSet a #

stimes :: Integral b => b -> MSet a -> MSet a #

Generic (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep (MSet a) :: Type -> Type #

Methods

from :: MSet a -> Rep (MSet a) x #

to :: Rep (MSet a) x -> MSet a #

Show a => Show (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

showsPrec :: Int -> MSet a -> ShowS #

show :: MSet a -> String #

showList :: [MSet a] -> ShowS #

Eq a => Eq (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

(==) :: MSet a -> MSet a -> Bool #

(/=) :: MSet a -> MSet a -> Bool #

Ord a => Ord (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

compare :: MSet a -> MSet a -> Ordering #

(<) :: MSet a -> MSet a -> Bool #

(<=) :: MSet a -> MSet a -> Bool #

(>) :: MSet a -> MSet a -> Bool #

(>=) :: MSet a -> MSet a -> Bool #

max :: MSet a -> MSet a -> MSet a #

min :: MSet a -> MSet a -> MSet a #

Serialise (MSet NgramsTerm) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

(ToJSONKey a, ToSchema a) => ToSchema (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToExpr a => ToExpr (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

toExpr :: MSet a -> Expr #

listToExpr :: [MSet a] -> Expr #

Ord a => Action (PatchMSet a) (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

act :: PatchMSet a -> MSet a -> MSet a #

Ord a => Applicable (PatchMSet a) (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

applicable :: PatchMSet a -> MSet a -> Validation #

type Rep (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (MSet a) = D1 ('MetaData "MSet" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'True) (C1 ('MetaCons "MSet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map a ()))))

mSetFromSet :: Set a -> MSet a #

mSetFromList :: Ord a => [a] -> MSet a #

mSetToSet :: Ord a => MSet a -> Set a #

mSetToList :: MSet a -> [a] #

newtype NgramsTerm #

Constructors

NgramsTerm 

Fields

Instances

Instances details
Arbitrary NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSONKey NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSONKey NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

IsString NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Monoid NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Semigroup NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsTerm :: Type -> Type #

Show NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

NFData NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

rnf :: NgramsTerm -> () #

IsHashable NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

hash :: NgramsTerm -> Hash #

Eq NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Hashable NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromField NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToField NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

toField :: NgramsTerm -> Action #

Serialise NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToExpr NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action NgramsTablePatch (Maybe NgramsTableMap) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable NgramsTablePatch (Maybe NgramsTableMap) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

HasSwagger (WithCustomErrorScheme GargAPI) # 
Instance details

Defined in Gargantext.API.Routes

DefaultFromField SqlJsonb (Archive NgramsState' NgramsStatePatch') # 
Instance details

Defined in Gargantext.Core.NodeStory.Types

Serialise (MSet NgramsTerm) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromHttpApiData (Map NgramsType (Versioned NgramsTableMap)) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToHttpApiData (Map NgramsType (Versioned NgramsTableMap)) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromField (Archive NgramsState' NgramsStatePatch') # 
Instance details

Defined in Gargantext.Core.NodeStory.Types

Serialise (PatchMap NgramsTerm NgramsPatch) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema (PatchMap NgramsTerm NgramsPatch) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action (PairPatch (PatchMSet NgramsTerm) (Replace ListType)) NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable (PairPatch (PatchMSet NgramsTerm) (Replace ListType)) NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsTerm # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsTerm = D1 ('MetaData "NgramsTerm" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'True) (C1 ('MetaCons "NgramsTerm" 'PrefixI 'True) (S1 ('MetaSel ('Just "unNgramsTerm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data RootParent #

Constructors

RootParent 

Instances

Instances details
FromJSON RootParent # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON RootParent # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic RootParent # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep RootParent :: Type -> Type #

Show RootParent # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Eq RootParent # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord RootParent # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep RootParent # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep RootParent = D1 ('MetaData "RootParent" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "RootParent" 'PrefixI 'True) (S1 ('MetaSel ('Just "_rp_root") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NgramsTerm) :*: S1 ('MetaSel ('Just "_rp_parent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NgramsTerm)))

data NgramsRepoElement #

Instances

Instances details
Arbitrary NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsRepoElement :: Type -> Type #

Show NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Eq NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromField NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToField NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action NgramsPatch (Maybe NgramsRepoElement) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action NgramsTablePatch (Maybe NgramsTableMap) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable NgramsPatch (Maybe NgramsRepoElement) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable NgramsTablePatch (Maybe NgramsTableMap) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

HasSwagger (WithCustomErrorScheme GargAPI) # 
Instance details

Defined in Gargantext.API.Routes

DefaultFromField SqlJsonb (Archive NgramsState' NgramsStatePatch') # 
Instance details

Defined in Gargantext.Core.NodeStory.Types

Action (Replace ListType) NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromHttpApiData (Map NgramsType (Versioned NgramsTableMap)) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToHttpApiData (Map NgramsType (Versioned NgramsTableMap)) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromField (Archive NgramsState' NgramsStatePatch') # 
Instance details

Defined in Gargantext.Core.NodeStory.Types

Action (PairPatch (PatchMSet NgramsTerm) (Replace ListType)) NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable (PairPatch (PatchMSet NgramsTerm) (Replace ListType)) NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsRepoElement = D1 ('MetaData "NgramsRepoElement" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "NgramsRepoElement" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_nre_size") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "_nre_list") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ListType)) :*: (S1 ('MetaSel ('Just "_nre_root") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe NgramsTerm)) :*: (S1 ('MetaSel ('Just "_nre_parent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe NgramsTerm)) :*: S1 ('MetaSel ('Just "_nre_children") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (MSet NgramsTerm))))))

data NgramsElement #

Instances

Instances details
Arbitrary NgramsElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsElement :: Type -> Type #

Show NgramsElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Eq NgramsElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord NgramsElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema NgramsElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToExpr NgramsElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Each NgramsTable NgramsTable NgramsElement NgramsElement #

Question: why these repetition of Type in this instance may you document it please ?

Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

newtype NgramsTable #

Constructors

NgramsTable [NgramsElement] 

Instances

Instances details
Arbitrary NgramsTable # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsTable # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsTable # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsTable # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsTable :: Type -> Type #

Show NgramsTable # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Eq NgramsTable # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord NgramsTable # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema NgramsTable # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToExpr NgramsTable # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Each NgramsTable NgramsTable NgramsElement NgramsElement #

Question: why these repetition of Type in this instance may you document it please ?

Instance details

Defined in Gargantext.API.Ngrams.Types

HasSwagger (WithCustomErrorScheme GargAPI) # 
Instance details

Defined in Gargantext.API.Routes

type Rep NgramsTable # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsTable = D1 ('MetaData "NgramsTable" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'True) (C1 ('MetaCons "NgramsTable" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [NgramsElement])))

mockTable :: NgramsTable #

TODO Check N and Weight

data OrderBy #

Instances

Instances details
Arbitrary OrderBy # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON OrderBy # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON OrderBy # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Bounded OrderBy # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Enum OrderBy # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic OrderBy # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep OrderBy :: Type -> Type #

Methods

from :: OrderBy -> Rep OrderBy x #

to :: Rep OrderBy x -> OrderBy #

Read OrderBy # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show OrderBy # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromHttpApiData OrderBy # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToHttpApiData OrderBy # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToParamSchema OrderBy # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

toParamSchema :: forall (t :: SwaggerKind Type). Proxy OrderBy -> ParamSchema t #

ToSchema OrderBy # 
Instance details

Defined in Gargantext.API.Ngrams.Types

HasSwagger (WithCustomErrorScheme GargAPI) # 
Instance details

Defined in Gargantext.API.Routes

type Rep OrderBy # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep OrderBy = D1 ('MetaData "OrderBy" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'False) ((C1 ('MetaCons "TermAsc" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TermDesc" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ScoreAsc" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ScoreDesc" 'PrefixI 'False) (U1 :: Type -> Type)))

data PatchSet a #

Constructors

PatchSet 

Fields

Instances

Instances details
(Ord a, FromJSON a) => FromJSON (PatchSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON a => ToJSON (PatchSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic (PatchSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep (PatchSet a) :: Type -> Type #

Methods

from :: PatchSet a -> Rep (PatchSet a) x #

to :: Rep (PatchSet a) x -> PatchSet a #

Show a => Show (PatchSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

showsPrec :: Int -> PatchSet a -> ShowS #

show :: PatchSet a -> String #

showList :: [PatchSet a] -> ShowS #

Eq a => Eq (PatchSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

(==) :: PatchSet a -> PatchSet a -> Bool #

(/=) :: PatchSet a -> PatchSet a -> Bool #

Ord a => Ord (PatchSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

compare :: PatchSet a -> PatchSet a -> Ordering #

(<) :: PatchSet a -> PatchSet a -> Bool #

(<=) :: PatchSet a -> PatchSet a -> Bool #

(>) :: PatchSet a -> PatchSet a -> Bool #

(>=) :: PatchSet a -> PatchSet a -> Bool #

max :: PatchSet a -> PatchSet a -> PatchSet a #

min :: PatchSet a -> PatchSet a -> PatchSet a #

type Rep (PatchSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (PatchSet a) = D1 ('MetaData "PatchSet" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "PatchSet" 'PrefixI 'True) (S1 ('MetaSel ('Just "_rem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Set a)) :*: S1 ('MetaSel ('Just "_add") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Set a))))

rem :: forall a. Lens' (PatchSet a) (Set a) #

add :: forall a. Lens' (PatchSet a) (Set a) #

_PatchSet :: forall a a. Iso (PatchSet a) (PatchSet a) (Set a, Set a) (Set a, Set a) #

type AddRem = Replace (Maybe ()) #

isRem :: Replace (Maybe ()) -> Bool #

newtype PatchMSet a #

Constructors

PatchMSet (PatchMap a AddRem) 

Instances

Instances details
(Ord a, Arbitrary a) => Arbitrary (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

arbitrary :: Gen (PatchMSet a) #

shrink :: PatchMSet a -> [PatchMSet a] #

(Ord a, FromJSON a) => FromJSON (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

(Ord a, ToJSON a) => ToJSON (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord a => Monoid (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord a => Semigroup (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

(<>) :: PatchMSet a -> PatchMSet a -> PatchMSet a #

sconcat :: NonEmpty (PatchMSet a) -> PatchMSet a #

stimes :: Integral b => b -> PatchMSet a -> PatchMSet a #

Generic (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep (PatchMSet a) :: Type -> Type #

Methods

from :: PatchMSet a -> Rep (PatchMSet a) x #

to :: Rep (PatchMSet a) x -> PatchMSet a #

Show a => Show (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Eq a => Eq (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

(==) :: PatchMSet a -> PatchMSet a -> Bool #

(/=) :: PatchMSet a -> PatchMSet a -> Bool #

Ord a => Group (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

invert :: PatchMSet a -> PatchMSet a #

(~~) :: PatchMSet a -> PatchMSet a -> PatchMSet a #

pow :: Integral x => PatchMSet a -> x -> PatchMSet a #

Ord a => Composable (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord a => Transformable (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

(Serialise a, Ord a) => Serialise (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema a => ToSchema (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Validity (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord a => Action (PatchMSet a) (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

act :: PatchMSet a -> MSet a -> MSet a #

Ord a => Applicable (PatchMSet a) (MSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

applicable :: PatchMSet a -> MSet a -> Validation #

Action (PairPatch (PatchMSet NgramsTerm) (Replace ListType)) NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable (PairPatch (PatchMSet NgramsTerm) (Replace ListType)) NgramsRepoElement # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (PatchMSet a) = D1 ('MetaData "PatchMSet" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'True) (C1 ('MetaCons "PatchMSet" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PatchMap a AddRem))))
type ConflictResolution (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Patched (PatchMSet a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Patched (PatchMSet a) = MSet a

_PatchMap :: forall k pv k pv. Iso (PatchMap k pv) (PatchMap k pv) (Map k pv) (Map k pv) #

data NgramsPatch #

Instances

Instances details
Arbitrary NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Monoid NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Semigroup NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsPatch :: Type -> Type #

Show NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Eq NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Transformable NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromField NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToField NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Validity NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action NgramsPatch (Maybe NgramsRepoElement) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable NgramsPatch (Maybe NgramsRepoElement) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise (PatchMap NgramsTerm NgramsPatch) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema (PatchMap NgramsTerm NgramsPatch) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsPatch = D1 ('MetaData "NgramsPatch" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "NgramsPatch" 'PrefixI 'True) (S1 ('MetaSel ('Just "_patch_children") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (PatchMSet NgramsTerm)) :*: S1 ('MetaSel ('Just "_patch_list") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Replace ListType))) :+: C1 ('MetaCons "NgramsReplace" 'PrefixI 'True) (S1 ('MetaSel ('Just "_patch_old") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe NgramsRepoElement)) :*: S1 ('MetaSel ('Just "_patch_new") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe NgramsRepoElement))))
type ConflictResolution NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Patched NgramsPatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

newtype NgramsTablePatch #

Instances

Instances details
Arbitrary NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Monoid NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Semigroup NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsTablePatch :: Type -> Type #

Show NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Eq NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Transformable NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromField NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToField NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Validity NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action NgramsTablePatch (Maybe NgramsTableMap) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable NgramsTablePatch (Maybe NgramsTableMap) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

HasSwagger (WithCustomErrorScheme GargAPI) # 
Instance details

Defined in Gargantext.API.Routes

DefaultFromField SqlJsonb (Archive NgramsState' NgramsStatePatch') # 
Instance details

Defined in Gargantext.Core.NodeStory.Types

FromField (PatchMap NgramsType (PatchMap NodeId NgramsTablePatch)) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromField (Archive NgramsState' NgramsStatePatch') # 
Instance details

Defined in Gargantext.Core.NodeStory.Types

type Rep NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsTablePatch = D1 ('MetaData "NgramsTablePatch" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'True) (C1 ('MetaCons "NgramsTablePatch" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PatchMap NgramsTerm NgramsPatch))))
type ConflictResolution NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Patched NgramsTablePatch # 
Instance details

Defined in Gargantext.API.Ngrams.Types

reParentNgramsPatch #

Arguments

:: NgramsTerm

The k which is the target of the transformation.

-> NgramsPatch

The patch to be applied to k.

-> State NgramsTableMap () 

For each (k,v) of the PatchMap, transform the input NgramsTableMap.

type Version = Int #

data Versioned a #

Constructors

Versioned 

Fields

Instances

Instances details
HasSwagger (WithCustomErrorScheme GargAPI) # 
Instance details

Defined in Gargantext.API.Routes

Arbitrary a => Arbitrary (Versioned a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

arbitrary :: Gen (Versioned a) #

shrink :: Versioned a -> [Versioned a] #

FromJSON a => FromJSON (Versioned a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON a => ToJSON (Versioned a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic (Versioned a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep (Versioned a) :: Type -> Type #

Methods

from :: Versioned a -> Rep (Versioned a) x #

to :: Rep (Versioned a) x -> Versioned a #

Show a => Show (Versioned a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Eq a => Eq (Versioned a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

(==) :: Versioned a -> Versioned a -> Bool #

(/=) :: Versioned a -> Versioned a -> Bool #

(Typeable a, ToSchema a) => ToSchema (Versioned a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromHttpApiData (Map NgramsType (Versioned NgramsTableMap)) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToHttpApiData (Map NgramsType (Versioned NgramsTableMap)) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (Versioned a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (Versioned a) = D1 ('MetaData "Versioned" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "Versioned" 'PrefixI 'True) (S1 ('MetaSel ('Just "_v_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Version) :*: S1 ('MetaSel ('Just "_v_data") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a)))

v_version :: forall a. Lens' (Versioned a) Version #

v_data :: forall a a. Lens (Versioned a) (Versioned a) a a #

type Count = Int #

data VersionedWithCount a #

Constructors

VersionedWithCount 

Instances

Instances details
HasSwagger (WithCustomErrorScheme GargAPI) # 
Instance details

Defined in Gargantext.API.Routes

Arbitrary a => Arbitrary (VersionedWithCount a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON a => FromJSON (VersionedWithCount a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON a => ToJSON (VersionedWithCount a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic (VersionedWithCount a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep (VersionedWithCount a) :: Type -> Type #

Show a => Show (VersionedWithCount a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Eq a => Eq (VersionedWithCount a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

(Typeable a, ToSchema a) => ToSchema (VersionedWithCount a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToExpr a => ToExpr (VersionedWithCount a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (VersionedWithCount a) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (VersionedWithCount a) = D1 ('MetaData "VersionedWithCount" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "VersionedWithCount" 'PrefixI 'True) (S1 ('MetaSel ('Just "_vc_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Version) :*: (S1 ('MetaSel ('Just "_vc_count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Count) :*: S1 ('MetaSel ('Just "_vc_data") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a))))

data Repo s p #

TOREMOVE

Constructors

Repo 

Fields

Instances

Instances details
(FromJSON s, FromJSON p) => FromJSON (Repo s p) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

parseJSON :: Value -> Parser (Repo s p) #

parseJSONList :: Value -> Parser [Repo s p] #

(ToJSON s, ToJSON p) => ToJSON (Repo s p) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

toJSON :: Repo s p -> Value #

toEncoding :: Repo s p -> Encoding #

toJSONList :: [Repo s p] -> Value #

toEncodingList :: [Repo s p] -> Encoding #

Generic (Repo s p) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep (Repo s p) :: Type -> Type #

Methods

from :: Repo s p -> Rep (Repo s p) x #

to :: Rep (Repo s p) x -> Repo s p #

(Show s, Show p) => Show (Repo s p) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

showsPrec :: Int -> Repo s p -> ShowS #

show :: Repo s p -> String #

showList :: [Repo s p] -> ShowS #

(Serialise s, Serialise p) => Serialise (Repo s p) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

encode :: Repo s p -> Encoding #

decode :: Decoder s0 (Repo s p) #

encodeList :: [Repo s p] -> Encoding #

decodeList :: Decoder s0 [Repo s p] #

type Rep (Repo s p) # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (Repo s p) = D1 ('MetaData "Repo" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "Repo" 'PrefixI 'True) (S1 ('MetaSel ('Just "_r_version") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Version) :*: (S1 ('MetaSel ('Just "_r_state") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 s) :*: S1 ('MetaSel ('Just "_r_history") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [p]))))

r_version :: forall s p. Lens' (Repo s p) Version #

r_state :: forall s p s. Lens (Repo s p) (Repo s p) s s #

r_history :: forall s p p. Lens (Repo s p) (Repo s p) [p] [p] #

initRepo :: Monoid s => Repo s p #

type RepoCmdM env err m = (CmdM' env err m, HasConnectionPool env, HasConfig env) #

data UpdateTableNgramsCharts #

Instances

Instances details
FromJSON UpdateTableNgramsCharts # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON UpdateTableNgramsCharts # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic UpdateTableNgramsCharts # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep UpdateTableNgramsCharts :: Type -> Type #

Show UpdateTableNgramsCharts # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Eq UpdateTableNgramsCharts # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema UpdateTableNgramsCharts # 
Instance details

Defined in Gargantext.API.Ngrams.Types

HasSwagger (WithCustomErrorScheme GargAPI) # 
Instance details

Defined in Gargantext.API.Routes

type Rep UpdateTableNgramsCharts # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep UpdateTableNgramsCharts = D1 ('MetaData "UpdateTableNgramsCharts" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "UpdateTableNgramsCharts" 'PrefixI 'True) (S1 ('MetaSel ('Just "_utn_tab_type") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TabType) :*: S1 ('MetaSel ('Just "_utn_list_id") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ListId)))

data NgramsListZIP #

Same as NgramsList, but wraps node_id so that the inner .json file can have proper name

Constructors

NgramsListZIP 

Instances

Instances details
Generic NgramsListZIP # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsListZIP :: Type -> Type #

ToSchema NgramsListZIP # 
Instance details

Defined in Gargantext.API.Ngrams.Types

HasSwagger (WithCustomErrorScheme GargAPI) # 
Instance details

Defined in Gargantext.API.Routes

type Rep NgramsListZIP # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsListZIP = D1 ('MetaData "NgramsListZIP" "Gargantext.API.Ngrams.Types" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "NgramsListZIP" 'PrefixI 'True) (S1 ('MetaSel ('Just "_nlz_nl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NgramsList) :*: S1 ('MetaSel ('Just "_nlz_list_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListId)))

Orphan instances