Haskell API search engine