License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data SearchResult' entities Source #
SearchResult | |
|
Instances
Foldable SearchResult' Source # | |
Defined in GitHub.Data.Search fold :: Monoid m => SearchResult' m -> m # foldMap :: Monoid m => (a -> m) -> SearchResult' a -> m # foldMap' :: Monoid m => (a -> m) -> SearchResult' a -> m # foldr :: (a -> b -> b) -> b -> SearchResult' a -> b # foldr' :: (a -> b -> b) -> b -> SearchResult' a -> b # foldl :: (b -> a -> b) -> b -> SearchResult' a -> b # foldl' :: (b -> a -> b) -> b -> SearchResult' a -> b # foldr1 :: (a -> a -> a) -> SearchResult' a -> a # foldl1 :: (a -> a -> a) -> SearchResult' a -> a # toList :: SearchResult' a -> [a] # null :: SearchResult' a -> Bool # length :: SearchResult' a -> Int # elem :: Eq a => a -> SearchResult' a -> Bool # maximum :: Ord a => SearchResult' a -> a # minimum :: Ord a => SearchResult' a -> a # sum :: Num a => SearchResult' a -> a # product :: Num a => SearchResult' a -> a # | |
Data entities => Data (SearchResult' entities) Source # | |
Defined in GitHub.Data.Search gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SearchResult' entities -> c (SearchResult' entities) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (SearchResult' entities) # toConstr :: SearchResult' entities -> Constr # dataTypeOf :: SearchResult' entities -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (SearchResult' entities)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (SearchResult' entities)) # gmapT :: (forall b. Data b => b -> b) -> SearchResult' entities -> SearchResult' entities # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchResult' entities -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchResult' entities -> r # gmapQ :: (forall d. Data d => d -> u) -> SearchResult' entities -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchResult' entities -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchResult' entities -> m (SearchResult' entities) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchResult' entities -> m (SearchResult' entities) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchResult' entities -> m (SearchResult' entities) # | |
Semigroup res => Semigroup (SearchResult' res) Source # | |
Defined in GitHub.Data.Search (<>) :: SearchResult' res -> SearchResult' res -> SearchResult' res # sconcat :: NonEmpty (SearchResult' res) -> SearchResult' res # stimes :: Integral b => b -> SearchResult' res -> SearchResult' res # | |
Generic (SearchResult' entities) Source # | |
Defined in GitHub.Data.Search type Rep (SearchResult' entities) :: Type -> Type # from :: SearchResult' entities -> Rep (SearchResult' entities) x # to :: Rep (SearchResult' entities) x -> SearchResult' entities # | |
Show entities => Show (SearchResult' entities) Source # | |
Defined in GitHub.Data.Search showsPrec :: Int -> SearchResult' entities -> ShowS # show :: SearchResult' entities -> String # showList :: [SearchResult' entities] -> ShowS # | |
Binary entities => Binary (SearchResult' entities) Source # | |
Defined in GitHub.Data.Search put :: SearchResult' entities -> Put # get :: Get (SearchResult' entities) # putList :: [SearchResult' entities] -> Put # | |
NFData entities => NFData (SearchResult' entities) Source # | |
Defined in GitHub.Data.Search rnf :: SearchResult' entities -> () # | |
Eq entities => Eq (SearchResult' entities) Source # | |
Defined in GitHub.Data.Search (==) :: SearchResult' entities -> SearchResult' entities -> Bool # (/=) :: SearchResult' entities -> SearchResult' entities -> Bool # | |
Ord entities => Ord (SearchResult' entities) Source # | |
Defined in GitHub.Data.Search compare :: SearchResult' entities -> SearchResult' entities -> Ordering # (<) :: SearchResult' entities -> SearchResult' entities -> Bool # (<=) :: SearchResult' entities -> SearchResult' entities -> Bool # (>) :: SearchResult' entities -> SearchResult' entities -> Bool # (>=) :: SearchResult' entities -> SearchResult' entities -> Bool # max :: SearchResult' entities -> SearchResult' entities -> SearchResult' entities # min :: SearchResult' entities -> SearchResult' entities -> SearchResult' entities # | |
(Monoid entities, FromJSON entities) => FromJSON (SearchResult' entities) Source # | |
Defined in GitHub.Data.Search parseJSON :: Value -> Parser (SearchResult' entities) # parseJSONList :: Value -> Parser [SearchResult' entities] # | |
type Rep (SearchResult' entities) Source # | |
Defined in GitHub.Data.Search type Rep (SearchResult' entities) = D1 ('MetaData "SearchResult'" "GitHub.Data.Search" "github-0.28-inplace" 'False) (C1 ('MetaCons "SearchResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "searchResultTotalCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "searchResultResults") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 entities))) |
type SearchResult entity = SearchResult' (Vector entity) Source #
Code | |
|
Instances
Data Code Source # | |
Defined in GitHub.Data.Search gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Code -> c Code # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Code # dataTypeOf :: Code -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Code) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Code) # gmapT :: (forall b. Data b => b -> b) -> Code -> Code # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Code -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Code -> r # gmapQ :: (forall d. Data d => d -> u) -> Code -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Code -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Code -> m Code # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Code -> m Code # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Code -> m Code # | |
Generic Code Source # | |
Show Code Source # | |
Binary Code Source # | |
NFData Code Source # | |
Defined in GitHub.Data.Search | |
Eq Code Source # | |
Ord Code Source # | |
FromJSON Code Source # | |
Defined in GitHub.Data.Search | |
type Rep Code Source # | |
Defined in GitHub.Data.Search type Rep Code = D1 ('MetaData "Code" "GitHub.Data.Search" "github-0.28-inplace" 'False) (C1 ('MetaCons "Code" 'PrefixI 'True) ((S1 ('MetaSel ('Just "codeName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "codePath") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "codeSha") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "codeUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL) :*: S1 ('MetaSel ('Just "codeGitUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL)) :*: (S1 ('MetaSel ('Just "codeHtmlUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL) :*: S1 ('MetaSel ('Just "codeRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CodeSearchRepo))))) |