Copyright | This file is part of the package themoviedb. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at: https://github.com/pjones/themoviedb No part of this package including this file may be copied modified propagated or distributed except according to the terms contained in the LICENSE file. |
---|---|
License | MIT |
Safe Haskell | None |
Language | Haskell2010 |
Utility type for processing movie search results.
Synopsis
- newtype SearchResults a = SearchResults {
- searchResults :: [a]
Documentation
newtype SearchResults a Source #
Internal wrapper to parse a list of results from JSON.
SearchResults | |
|
Instances
Eq a => Eq (SearchResults a) Source # | |
Defined in Network.API.TheMovieDB.Internal.SearchResults (==) :: SearchResults a -> SearchResults a -> Bool # (/=) :: SearchResults a -> SearchResults a -> Bool # | |
Show a => Show (SearchResults a) Source # | |
Defined in Network.API.TheMovieDB.Internal.SearchResults showsPrec :: Int -> SearchResults a -> ShowS # show :: SearchResults a -> String # showList :: [SearchResults a] -> ShowS # | |
FromJSON a => FromJSON (SearchResults a) Source # | |
Defined in Network.API.TheMovieDB.Internal.SearchResults parseJSON :: Value -> Parser (SearchResults a) # parseJSONList :: Value -> Parser [SearchResults a] # |