module Text.Yahoo.WebSearch (webSearch, simpleQuery) where

import Text.Yahoo.Internal (fromYahoo, simpleQuery)

import Text.Yahoo.Types

-- | 'webSearch' returns as a 'ResultSet' the Yahoo results matching 'Query'.
webSearch :: Query -> IO (Either Error ResultSet)
webSearch = fromYahoo False