module Text.Yahoo.ContextSearch (contextSearch, contextQuery) where

import Text.Yahoo.Internal (fromYahoo, contextQuery)

import Text.Yahoo.Types

-- | 'contextSearch' is like 'webSearch' but performs a contextual search.
contextSearch :: Query -> IO (Either Error ResultSet)
contextSearch = fromYahoo True