gargantext-0.0.4.9.5: Search, map, share
Safe HaskellNone
LanguageHaskell2010

Gargantext.API.Ngrams.Types

Description

 
Synopsis

Documentation

data TabType Source #

Instances

Instances details
Bounded TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Enum TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Eq TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

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

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

Ord TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic TabType Source # 
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 #

Arbitrary TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Hashable TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

hashWithSalt :: Int -> TabType -> Int #

hash :: TabType -> Int #

ToJSON TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSONKey TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSONKey TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromHttpApiData TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToParamSchema TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

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

type Rep TabType Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep TabType = D1 ('MetaData "TabType" "Gargantext.API.Ngrams.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" '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 Source #

Constructors

MSet (Map a ()) 

Instances

Instances details
Foldable MSet Source # 
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 #

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

Defined in Gargantext.API.Ngrams.Types

Methods

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

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

Ord a => Ord (MSet a) Source # 
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 #

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

Defined in Gargantext.API.Ngrams.Types

Methods

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

show :: MSet a -> String #

showList :: [MSet a] -> ShowS #

Generic (MSet a) Source # 
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 #

Ord a => Semigroup (MSet a) Source # 
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 #

Ord a => Monoid (MSet a) Source # 
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, Arbitrary a) => Arbitrary (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

arbitrary :: Gen (MSet a) #

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

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

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

Serialise (MSet NgramsTerm) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

Methods

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

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

Defined in Gargantext.API.Ngrams.Types

Methods

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

type Rep (MSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

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

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

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

mSetToList :: MSet a -> [a] Source #

newtype NgramsTerm Source #

Constructors

NgramsTerm 

Fields

Instances

Instances details
Eq NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

IsString NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsTerm :: Type -> Type #

Semigroup NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Monoid NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

NFData NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

rnf :: NgramsTerm -> () #

Arbitrary NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Hashable NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSONKey NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSONKey NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

IsHashable NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Methods

hash :: NgramsTerm -> Hash #

FromField NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action NgramsTablePatch (Maybe NgramsTableMap) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable NgramsTablePatch (Maybe NgramsTableMap) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise (MSet NgramsTerm) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Monoid (Archive NgramsState' NgramsStatePatch') Source # 
Instance details

Defined in Gargantext.Core.NodeStory

Serialise (PatchMap NgramsTerm NgramsPatch) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema (PatchMap NgramsTerm NgramsPatch) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

Methods

act :: PairPatch (PatchMSet NgramsTerm) (Replace ListType) -> NgramsRepoElement -> NgramsRepoElement #

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

Defined in Gargantext.API.Ngrams.Types

Methods

applicable :: PairPatch (PatchMSet NgramsTerm) (Replace ListType) -> NgramsRepoElement -> Validation

type Rep NgramsTerm Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

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

data RootParent Source #

Constructors

RootParent 

Instances

Instances details
Eq RootParent Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord RootParent Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show RootParent Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic RootParent Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep RootParent :: Type -> Type #

ToJSON RootParent Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON RootParent Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep RootParent Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

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

data NgramsRepoElement Source #

Instances

Instances details
Eq NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsRepoElement :: Type -> Type #

Arbitrary NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action NgramsPatch (Maybe NgramsRepoElement) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action NgramsTablePatch (Maybe NgramsTableMap) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable NgramsPatch (Maybe NgramsRepoElement) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable NgramsTablePatch (Maybe NgramsTableMap) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Monoid (Archive NgramsState' NgramsStatePatch') Source # 
Instance details

Defined in Gargantext.Core.NodeStory

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

Defined in Gargantext.API.Ngrams.Types

Methods

act :: PairPatch (PatchMSet NgramsTerm) (Replace ListType) -> NgramsRepoElement -> NgramsRepoElement #

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

Defined in Gargantext.API.Ngrams.Types

Methods

applicable :: PairPatch (PatchMSet NgramsTerm) (Replace ListType) -> NgramsRepoElement -> Validation

type Rep NgramsRepoElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsRepoElement = D1 ('MetaData "NgramsRepoElement" "Gargantext.API.Ngrams.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" '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 Source #

Instances

Instances details
Eq NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsElement :: Type -> Type #

Arbitrary NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema NgramsElement Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Each NgramsTable NgramsTable NgramsElement NgramsElement Source #

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 Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

newtype NgramsTable Source #

Constructors

NgramsTable [NgramsElement] 

Instances

Instances details
Eq NgramsTable Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Ord NgramsTable Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show NgramsTable Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsTable Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsTable :: Type -> Type #

Arbitrary NgramsTable Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsTable Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsTable Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema NgramsTable Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Each NgramsTable NgramsTable NgramsElement NgramsElement Source #

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

Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsTable Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

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

mockTable :: NgramsTable Source #

TODO Check N and Weight

data PatchSet a Source #

Constructors

PatchSet 

Fields

Instances

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

Defined in Gargantext.API.Ngrams.Types

Methods

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

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

Ord a => Ord (PatchSet a) Source # 
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 #

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

Defined in Gargantext.API.Ngrams.Types

Methods

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

show :: PatchSet a -> String #

showList :: [PatchSet a] -> ShowS #

Generic (PatchSet a) Source # 
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 #

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

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

type Rep (PatchSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

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

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

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

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

type AddRem = Replace (Maybe ()) Source #

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

type PatchMap = PatchMap Source #

newtype PatchMSet a Source #

Constructors

PatchMSet (PatchMap a AddRem) 

Instances

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

Defined in Gargantext.API.Ngrams.Types

Methods

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

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

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

Defined in Gargantext.API.Ngrams.Types

Generic (PatchMSet a) Source # 
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 #

Ord a => Semigroup (PatchMSet a) Source # 
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 #

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

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

Methods

arbitrary :: Gen (PatchMSet a) #

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

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

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

Ord a => Group (PatchMSet a) Source # 
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 #

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

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

Validity (PatchMSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

Methods

transformWith :: ConflictResolution (PatchMSet a) -> PatchMSet a -> PatchMSet a -> (PatchMSet a, PatchMSet a)

transformFst :: ConflictResolution (PatchMSet a) -> PatchMSet a -> PatchMSet a -> PatchMSet a

transformSnd :: ConflictResolution (PatchMSet a) -> PatchMSet a -> PatchMSet a -> PatchMSet a

transformable :: PatchMSet a -> PatchMSet a -> Validation

conflicts :: PatchMSet a -> PatchMSet a -> Sum Int

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

Defined in Gargantext.API.Ngrams.Types

Methods

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

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

Defined in Gargantext.API.Ngrams.Types

Methods

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

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

Defined in Gargantext.API.Ngrams.Types

Methods

act :: PairPatch (PatchMSet NgramsTerm) (Replace ListType) -> NgramsRepoElement -> NgramsRepoElement #

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

Defined in Gargantext.API.Ngrams.Types

Methods

applicable :: PairPatch (PatchMSet NgramsTerm) (Replace ListType) -> NgramsRepoElement -> Validation

type Rep (PatchMSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

type ConflictResolution (PatchMSet a) = ConflictResolutionPatchMSet a
type Patched (PatchMSet a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Patched (PatchMSet a) = MSet a

type ConflictResolutionPatchMSet a = a -> ConflictResolutionReplace (Maybe ()) Source #

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

data NgramsPatch Source #

Instances

Instances details
Eq NgramsPatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show NgramsPatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsPatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsPatch :: Type -> Type #

Semigroup NgramsPatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Monoid NgramsPatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Arbitrary NgramsPatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsPatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsPatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise NgramsPatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema NgramsPatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Validity NgramsPatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Transformable NgramsPatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action NgramsPatch (Maybe NgramsRepoElement) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable NgramsPatch (Maybe NgramsRepoElement) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise (PatchMap NgramsTerm NgramsPatch) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema (PatchMap NgramsTerm NgramsPatch) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsPatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep NgramsPatch = D1 ('MetaData "NgramsPatch" "Gargantext.API.Ngrams.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" '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 Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type ConflictResolution NgramsPatch = ConflictResolutionNgramsPatch
type Patched NgramsPatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type NgramsPatchIso = MaybePatch NgramsRepoElement (PairPatch (PatchMSet NgramsTerm) (Replace ListType)) Source #

type ConflictResolutionNgramsPatch = (ConflictResolutionReplace (Maybe NgramsRepoElement), (ConflictResolutionPatchMSet NgramsTerm, ConflictResolutionReplace ListType), (Bool, Bool)) Source #

newtype NgramsTablePatch Source #

Instances

Instances details
Eq NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep NgramsTablePatch :: Type -> Type #

Semigroup NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Monoid NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Arbitrary NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToJSON NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromField NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Serialise NgramsStatePatch' Source # 
Instance details

Defined in Gargantext.Core.NodeStory

ToSchema NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Validity NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Transformable NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Action NgramsTablePatch (Maybe NgramsTableMap) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Applicable NgramsTablePatch (Maybe NgramsTableMap) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Monoid (Archive NgramsState' NgramsStatePatch') Source # 
Instance details

Defined in Gargantext.Core.NodeStory

type Rep NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

type Patched NgramsTablePatch Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type ReParent a = forall m. MonadState NgramsTableMap m => a -> m () Source #

data Versioned a Source #

Constructors

Versioned 

Fields

Instances

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

Defined in Gargantext.API.Ngrams.Types

Methods

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

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

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

Defined in Gargantext.API.Ngrams.Types

Generic (Versioned a) Source # 
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 #

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

Defined in Gargantext.API.Ngrams.Types

Methods

arbitrary :: Gen (Versioned a) #

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

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

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

type Rep (Versioned a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

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

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

type Count = Int Source #

data VersionedWithCount a Source #

Constructors

VersionedWithCount 

Instances

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

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

Generic (VersionedWithCount a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

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

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

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

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

Defined in Gargantext.API.Ngrams.Types

type Rep (VersionedWithCount a) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

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

data Repo s p Source #

TOREMOVE

Constructors

Repo 

Fields

Instances

Instances details
(Show s, Show p) => Show (Repo s p) Source # 
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 #

Generic (Repo s p) Source # 
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 #

(ToJSON s, ToJSON p) => ToJSON (Repo s p) Source # 
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 #

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

Defined in Gargantext.API.Ngrams.Types

Methods

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

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

(Serialise s, Serialise p) => Serialise (Repo s p) Source # 
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) Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep (Repo s p) = D1 ('MetaData "Repo" "Gargantext.API.Ngrams.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" '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 Source #

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

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

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

data UpdateTableNgramsCharts Source #

Instances

Instances details
Eq UpdateTableNgramsCharts Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Show UpdateTableNgramsCharts Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Generic UpdateTableNgramsCharts Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

Associated Types

type Rep UpdateTableNgramsCharts :: Type -> Type #

ToJSON UpdateTableNgramsCharts Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

FromJSON UpdateTableNgramsCharts Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

ToSchema UpdateTableNgramsCharts Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep UpdateTableNgramsCharts Source # 
Instance details

Defined in Gargantext.API.Ngrams.Types

type Rep UpdateTableNgramsCharts = D1 ('MetaData "UpdateTableNgramsCharts" "Gargantext.API.Ngrams.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" '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)))

Orphan instances

Serialise ListType Source # 
Instance details

Serialise AddRem Source # 
Instance details

(Eq a, Arbitrary a) => Arbitrary (Replace a) Source # 
Instance details

Methods

arbitrary :: Gen (Replace a) #

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

Serialise (Replace ListType) Source # 
Instance details

Methods

encode :: Replace ListType -> Encoding #

decode :: Decoder s (Replace ListType) #

encodeList :: [Replace ListType] -> Encoding #

decodeList :: Decoder s [Replace ListType] #

ToSchema a => ToSchema (Replace a) Source # 
Instance details

(Serialise a, Ord a) => Serialise (PatchMap a AddRem) Source # 
Instance details