O'Reilly logo
  • Leandro Gonçalves de Oliveira thinks this is interesting:

3. Create a new function that takes a search term and search engines as arguments, and returns a vector of the URLs from the first page of search results from each search engine.


Cover of Clojure for the Brave and True


(defn search-online-many [text providers] (->> providers (map #(search-online text %1)) (filter #(not= %1 :provider-not-found))))